CVE-2024-55626
NoneCVSS
—
EPSS
0.2%
Published
Jan 6, 2025
CISA due date
—
Cloudanix analysis
A flaw lets an attacker crash or take control of the network security monitoring tool simply by giving it an unusually large configuration file when it starts.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- High
- Impact
- Other
- Component
- Application
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A buffer overflow occurs in Suricata during initialization when processing an excessively large BPF filter file provided at startup.
Why it matters to the business
Successful exploitation can crash the network monitoring engine or enable arbitrary code execution, interrupting intrusion detection, prevention, and security monitoring operations across affected deployments.
How an attack unfolds
An attacker prepares an oversized BPF filter file and configures it for use when launching Suricata; upon process startup the oversized input triggers the overflow before size validation occurs.
How to fix it
Upgrade oisf/suricata to version 7.0.8 or apply the fix from commit 97e69ffb1bc2b7358115ee59f460a924893664e8 in all installations.
How to confirm the fix worked
Confirm the installed Suricata binary reports version 7.0.8 or later; attempt startup with an oversized BPF filter file and verify the process initializes without crashing or memory corruption.
Typical attack path
- Create a maliciously large BPF filter file
- Place the file in a location accessible to the Suricata configuration
- Start the Suricata process with the malicious filter referenced
- Trigger buffer overflow during initialization
How to detect it
Review Suricata startup logs and system crash reports for failures or segmentation faults occurring while loading BPF filter files; correlate with process termination events around service initialization.
- segfault during BPF filter load
- buffer overflow at startup
- Suricata process crash on initialization with large BPF
What your security team should do
- Immediately upgrade all Suricata instances to the fixed version
- Audit existing BPF filter files for excessive size before restart
- Implement startup monitoring and alerting for Suricata process failures
The record
Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to 7.0.8, a large BPF filter file provided to Suricata at startup can lead to a buffer overflow at Suricata startup. The issue has been addressed in Suricata 7.0.8.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | suricata | 0 | No fix |
| Debian:11 | suricata | 0 | 1:6.0.1-3+deb11u1 |
| Debian:12 | suricata | 0 | No fix |
| Debian:13 | suricata | 0 | 1:7.0.8-1 |
| Debian:14 | suricata | 0 | 1:7.0.8-1 |
| Ubuntu:16.04:LTS | suricata | 0 | No fix |
| Ubuntu:18.04:LTS | suricata | 0 | No fix |
| Ubuntu:22.04:LTS | suricata | 0 | No fix |
| Ubuntu:24.04:LTS | suricata | 0 | No fix |
| Ubuntu:24.10 | suricata | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | suricata | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | suricata | 0 | No fix |
| openSUSE:Tumbleweed | suricata | 0 | 8.0.0-1.1 |
Related vulnerabilities
- CVE-2024-55629 Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network… Also affects suricata
- CVE-2024-55628 Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network… Also affects suricata
- CVE-2024-55627 Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network… Also affects suricata
- CVE-2024-55605 Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network… Also affects suricata
- CVE-2024-47522 Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network… Also affects suricata
- CVE-2024-47187 Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network… Also affects suricata
- CVE-2024-47188 Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network… Also affects suricata
- CVE-2024-45796 Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network… Also affects suricata