CVE-2024-38535
Description
A flaw was found in Suricata. An unauthenticated remote attacker can cause a Denial of Service (DoS) by sending crafted HTTP/2 network traffic containing duplicate headers. When Suricata inspects this malformed traffic, it fails to properly restrict memory allocation, leading to memory exhaustion and causing the service to crash.
Statement
Moderate impact: Red Hat's affected Community Projects (Fedora and EPEL) and Hosted OpenShift Clusters products include Suricata, which can be exhausted by crafted HTTP/2 traffic sent over the network, causing the process to run out of memory and resulting in a denial of service. The current record marks Fedora and EPEL remediation as DEFER, so residual risk remains there until the issue is fixed; remediation is being pursued for Hosted OpenShift Clusters. The Red Hat impact is Moderate, while both Red Hat and CVE.org rate the issue 7.5 (Important) under CVSS 3.1.
Mitigation
If not able to update to fixed versions, users can disable HTTP/2 parsing, which will prevent malicious traffic from consuming memory and triggering this vulnerability.
Command to disable HTTP/2 parser: app-layer.protocols.http2.enabled: no
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)
When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.