Vulnerability · Published May 7, 2024 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity heap buffer overflow in suricata from OISF. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.9%top 41.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20suricata7.0.6-r0ALPINE-CVE-2024-32664
Alpine:v3.21suricata7.0.6-r0ALPINE-CVE-2024-32664
Alpine:v3.22suricata7.0.6-r0ALPINE-CVE-2024-32664
Alpine:v3.23suricata7.0.6-r0ALPINE-CVE-2024-32664
Alpine:v3.24suricata7.0.6-r0ALPINE-CVE-2024-32664
Debian:13suricata1:7.0.5-1DEBIAN-CVE-2024-32664
Debian:14suricata1:7.0.5-1DEBIAN-CVE-2024-32664
Ubuntu:22.04:LTSsuricatano fix listedUBUNTU-CVE-2024-32664
Ubuntu:24.04:LTSsuricatano fix listedUBUNTU-CVE-2024-32664
Ubuntu:25.10suricatano fix listedUBUNTU-CVE-2024-32664
Ubuntu:26.04:LTSsuricatano fix listedUBUNTU-CVE-2024-32664
Ubuntu:26.10suricatano fix listedUBUNTU-CVE-2024-32664

Affected products (as reported)

VendorProductVersions
OISF suricata >= 6.0.0, <= 6.0.18>= 7.0.0, <= 7.0.4

Weakness: CWE-122, CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References