RHSA-2024:1089MediumCVSS 7.5

Red Hat Security Advisory: haproxy security update

Published
March 5, 2024
Last Modified
November 6, 2026

🔗 CVE IDs covered (2)

📋 Description

CVE-2023-40225 — haproxy: Proxy forwards malformed empty Content-Length headers CVE-2023-45539 — haproxy: untrimmed URI fragments may lead to exposure of confidential data on static servers

🎯 Affected products14

  • Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-0:2.4.17-6.el9_2.2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-0:2.4.17-6.el9_2.2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-0:2.4.17-6.el9_2.2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-0:2.4.17-6.el9_2.2.src as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-0:2.4.17-6.el9_2.2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-debuginfo-0:2.4.17-6.el9_2.2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-debuginfo-0:2.4.17-6.el9_2.2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-debuginfo-0:2.4.17-6.el9_2.2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-debuginfo-0:2.4.17-6.el9_2.2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-debugsource-0:2.4.17-6.el9_2.2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-debugsource-0:2.4.17-6.el9_2.2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-debugsource-0:2.4.17-6.el9_2.2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • haproxy-debugsource-0:2.4.17-6.el9_2.2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: This flaw can be mitigated by applying a rule to explicitly reject any requests with an empty Content-Lenght header. The following line can be added to any frontend configurations at the /etc/haproxy/haproxy.cfg file. ~~~ http-request deny if { hdr_len(content-length) 0 } ~~~

🔗 References (5)