CVE-2024-23839 Suricata http: heap use after free with http.request_header and http.response_header keywords

High 7.1 Published Updated

Crafted traffic triggers a heap use-after-free in Suricata when specific HTTP header keywords are used in rules, potentially causing crashes or code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-23839?

CVE-2024-23839 is a high-severity use after free vulnerability in Fedoraproject Fedora, published on 26 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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: CWE-416

Which versions are affected by CVE-2024-23839?

It affects 2 products.

Products include Fedoraproject Fedora, Oisf Suricata.

How do I fix CVE-2024-23839?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-23839 being exploited?

There is no known exploitation of CVE-2024-23839 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-23839, GHSA-qxj6-hr2p-mmc7, UBUNTU-CVE-2024-23839.

Is CVE-2024-23839 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free