BIT-haproxy-2023-40225: HAProxy HAProxy vulnerability

Published Aug 10, 2023
·
Updated

HAProxy through 2.0.32, 2.1.x and 2.2.x through 2.2.30, 2.3.x and 2.4.x through 2.4.23, 2.5.x and 2.6.x before 2.6.15, 2.7.x before 2.7.10, and 2.8.x before 2.8.2 forwards empty Content-Length headers, violating RFC 9110 section 8.6. In uncommon cases, an HTTP/1 server behind HAProxy may interpret the payload as an extra request.

Affected Software

1 affected component
HAProxy HAProxy<=2.0.32, >=2.1.0<2.2.0, >=2.2.0<=2.2.30, >=2.3.0<2.4.0, >=2.4.0<=2.4.23, >=2.5.0<2.6.0, >=2.6.0<2.6.15, >=2.7.0<2.7.10, >=2.8.0<2.8.2

Event History

Aug 10, 2023
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
Description

Frequently Asked Questions

1

Which deployments are most exposed to this issue?

The issue applies where HAProxy forwards requests with an empty Content-Length header to an HTTP/1 backend server. Exploitation requires the uncommon condition that the backend interprets the request payload as an additional request.

2

What does an attacker need to send?

An attacker needs to cause HAProxy to forward an HTTP request containing an empty Content-Length header and a payload. The backend HTTP/1 server must then interpret that payload as an extra request.

3

Which versions need remediation?

Affected releases include HAProxy through 2.0.32; 2.1.x; 2.2.x through 2.2.30; 2.3.x and 2.4.x through 2.4.23; 2.5.x; 2.6.x before 2.6.15; 2.7.x before 2.7.10; and 2.8.x before 2.8.2. Upgrade to 2.6.15, 2.7.10, 2.8.2, or a later applicable release.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203