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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | suricata | 7.0.6-r0 | ALPINE-CVE-2024-32664 |
| Alpine:v3.21 | suricata | 7.0.6-r0 | ALPINE-CVE-2024-32664 |
| Alpine:v3.22 | suricata | 7.0.6-r0 | ALPINE-CVE-2024-32664 |
| Alpine:v3.23 | suricata | 7.0.6-r0 | ALPINE-CVE-2024-32664 |
| Alpine:v3.24 | suricata | 7.0.6-r0 | ALPINE-CVE-2024-32664 |
| Debian:13 | suricata | 1:7.0.5-1 | DEBIAN-CVE-2024-32664 |
| Debian:14 | suricata | 1:7.0.5-1 | DEBIAN-CVE-2024-32664 |
| Ubuntu:22.04:LTS | suricata | no fix listed | UBUNTU-CVE-2024-32664 |
| Ubuntu:24.04:LTS | suricata | no fix listed | UBUNTU-CVE-2024-32664 |
| Ubuntu:25.10 | suricata | no fix listed | UBUNTU-CVE-2024-32664 |
| Ubuntu:26.04:LTS | suricata | no fix listed | UBUNTU-CVE-2024-32664 |
| Ubuntu:26.10 | suricata | no fix listed | UBUNTU-CVE-2024-32664 |
Affected products (as reported)
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