CVE Vulnerabilities

CVE-2024-23839

Use After Free

Published: Feb 26, 2024 | Modified: Dec 19, 2024
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to 7.0.3, specially crafted traffic can cause a heap use after free if the ruleset uses the http.request_header or http.response_header keyword. The vulnerability has been patched in 7.0.3. To work around the vulnerability, avoid the http.request_header and http.response_header keywords.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Suricata Oisf 7.0.0 (including) 7.0.3 (excluding)
Suricata Ubuntu bionic *
Suricata Ubuntu mantic *
Suricata Ubuntu oracular *
Suricata Ubuntu trusty *
Suricata Ubuntu upstream *
Suricata Ubuntu xenial *

Potential Mitigations

References