cve.bz

CVE-2024-45506 haproxy haproxy: Infinite Loop

7.5 highEPSS 1.2%

High (7.5) in haproxy haproxy. EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
HAProxy 2.9.x before 2.9.10, 3.0.x before 3.0.4, and 3.1.x through 3.1-dev6 allows a remote denial of service for HTTP/2 zero-copy forwarding (h2_send loop) under a certain set of conditions, as exploited in the wild in 2024.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-09-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-45506 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-45506?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-45506?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-45506 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
haproxy:haproxyfrom 2.9.0 before 2.9.10
haproxy:haproxyfrom 3.0.0 before 3.0.4
haproxy:haproxy3.1:dev0
haproxy:haproxy3.1:dev1
haproxy:haproxy3.1:dev2
haproxy:haproxy3.1:dev3
haproxy:haproxy3.1:dev4
haproxy:haproxy3.1:dev5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14haproxy2.9.10-1DEBIAN-CVE-2024-45506
openSUSETumbleweedhaproxy3.0.4+git0.7a59afa93-1.1openSUSE-SU-2024:14307-1
Azure Linux3haproxy2.9.11-1AZL-48668

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The severity of this vulnerability has been raised to Important due to preliminary evidence from the upstream HAProxy project that it has been exploited in one case. Without this detail, the technical risk from this type of denial of service would have been rated Moderate.

This issue can only be triggered when zero-copy forwarding of data is enabled. See the mitigation section to see how this mechanism can be disabled.

The HAProxy package as shipped in Red Hat Enterprise Linux 7, 8, 9, in Red Hat Ceph Storage 5 and in Red Hat OpenShift Container Platform 3.11 and 4 is not affected by this vulnerability because these products do not ship a vulnerable version of HAProxy.

Red Hat's mitigation

Disable the zero-copy forwarding system to mitigate this issue. Add the following configuration directive in the global section:

~~~

global

...

tune.h2.zero-copy-fwd-send off

~~~

ProductPackageStateAdvisory
Red Hat Ceph Storage 5haproxyNot affected
Red Hat Enterprise Linux 10haproxyNot affected
Red Hat Enterprise Linux 7haproxyNot affected
Red Hat Enterprise Linux 8haproxyNot affected
Red Hat Enterprise Linux 9haproxyNot affected
Red Hat OpenShift Container Platform 3.11haproxyNot affected
Red Hat OpenShift Container Platform 4haproxyNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-45506.

References

Check your stackJSON