7.2
CWE
444
Advisory Published
Updated

CVE-2023-40225

First published: Thu 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.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Haproxy Haproxy<=2.0.32
Haproxy Haproxy>=2.2.0<=2.2.30
Haproxy Haproxy>=2.4.0<=2.4.23
Haproxy Haproxy>=2.5.0<2.6.15
Haproxy Haproxy>=2.7.0<2.7.10
Haproxy Haproxy>=2.8.0<2.8.2
ubuntu/haproxy<2.0.31-0ubuntu0.2
2.0.31-0ubuntu0.2
ubuntu/haproxy<2.4.22-0ubuntu0.22.04.2
2.4.22-0ubuntu0.22.04.2
ubuntu/haproxy<2.6.9-1ubuntu1.1
2.6.9-1ubuntu1.1
ubuntu/haproxy<2.6.15-1ubuntu1
2.6.15-1ubuntu1
ubuntu/haproxy<2.6.15-1<2.6.15<2.7.10<2.8.2
2.6.15-1
2.6.15
2.7.10
2.8.2
redhat/haproxy<2.6.15
2.6.15
redhat/haproxy<2.7.10
2.7.10
redhat/haproxy<2.8.2
2.8.2
debian/haproxy
1.8.19-1+deb10u3
1.8.19-1+deb10u5
2.2.9-2+deb11u6
2.6.12-1+deb12u1
2.9.9-1

Remedy

frontend can reject requests with empty content-length header with the following rule http-request deny if { hdr_len(content-length) 0 }

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2023-40225?

    The severity of CVE-2023-40225 is high, with a severity value of 7.2.

  • How does CVE-2023-40225 affect HAProxy?

    CVE-2023-40225 affects HAProxy versions through 2.0.32, 2.1.x, 2.2.x, 2.3.x, 2.4.x, 2.5.x, 2.6.x, 2.7.x, 2.8.x, and 2.9.x.

  • What is the remedy for CVE-2023-40225?

    The remedy for CVE-2023-40225 is to upgrade to HAProxy version 2.6.15 or higher.

  • Where can I find more information about CVE-2023-40225?

    You can find more information about CVE-2023-40225 at the following references: [link1](https://cwe.mitre.org/data/definitions/436.html), [link2](https://github.com/haproxy/haproxy/commit/6492f1f29d738457ea9f382aca54537f35f9d856), [link3](https://github.com/haproxy/haproxy/issues/2237).

  • What is the CWE ID of CVE-2023-40225?

    The CWE ID of CVE-2023-40225 is CWE-444.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203