Remote Denial of Service Vulnerability in HAProxy - CVE-2024-45506

haproxy Updated 02 Oct 2025

Summary

04/09/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-45506: 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... Affects haproxy versions < 2.9.10-1. Fixed in 2.9.10-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

HAProxy is a widely used open-source software that provides high availability, load balancing, and proxying for TCP and HTTP-based applications. It is known for its performance and reliability, making it a popular choice for managing web traffic. However, certain versions of HAProxy are vulnerable to a remote denial of service attack, which can disrupt service availability under specific conditions.

Vulnerability Detail

The vulnerability identified as CVE-2024-45506 affects HAProxy versions 2.9.x before 2.9.10, 3.0.x before 3.0.4, and 3.1.x through 3.1-dev6. It allows a remote attacker to exploit the HTTP/2 zero-copy forwarding feature, leading to a denial of service condition. This issue has been actively exploited in the wild, emphasizing the urgency of addressing it. The root cause lies in the h2_send loop, which can be triggered under certain conditions, resulting in service disruption.

How To Fix

Minimum fixed version

2.9.10-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade haproxy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable HTTP/2 support in HAProxy configurations until the package is updated. This can be done by modifying the HAProxy configuration file (usually located at /etc/haproxy/haproxy.cfg) and removing or commenting out the 'http2' directive.

Conclusion

In summary, CVE-2024-45506 is a critical vulnerability in specific versions of HAProxy that can lead to remote denial of service. Users are strongly advised to update to the latest patched versions to mitigate the risk. Additionally, temporary workarounds are available to help maintain service availability until updates can be applied.

See every vulnerability recorded for haproxy →

Share this vulnerability

FAQ

CVE-2024-45506 is a vulnerability in HAProxy that allows remote denial of service through the HTTP/2 zero-copy forwarding feature.

The affected versions are HAProxy 2.9.x before 2.9.10, 3.0.x before 3.0.4, and 3.1.x through 3.1-dev6.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Exploitation of this vulnerability can lead to a denial of service, causing disruptions in service availability for users.

As a temporary measure, you can disable HTTP/2 support in your HAProxy configuration until you can apply the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for haproxy.

How To Fix

Minimum fixed version

2.9.10-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade haproxy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback