CVE-2024-32664 Suricata's base64 contains an out of bounds write

Medium 5.3 Published Updated

Attackers can trigger a buffer overflow in Suricata via crafted traffic, potentially causing denial of service or code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-32664?

CVE-2024-32664 is a medium-severity memory corruption vulnerability in Oisf Suricata, published on 7 May 2024. An attacker can exploit it over the internet without logging in, 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.5 and 6.0.19, specially crafted traffic or datasets can cause a limited buffer overflow. This vulnerability is fixed in 7.0.5 and 6.0.19. Workarounds include not use rules with `base64_decode` keyword with `bytes` option with value 1, 2 or 5 and for 7.0.x, setting `app-layer.protocols.smtp.mime.body-md5` to false.

Weakness: CWE-122, CWE-120

Which versions are affected by CVE-2024-32664?

It affects 1 product.

Products include Oisf Suricata.

How do I fix CVE-2024-32664?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-32664 being exploited?

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

All Oisf Suricata vulnerabilities

Sources

Also known as DEBIAN-CVE-2024-32664, GHSA-79vh-hpwq-3jh7, UBUNTU-CVE-2024-32664.

Is CVE-2024-32664 in your software?

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

Check your SBOMs for free