RHSA-2024:1142MediumCVSS 7.5
Red Hat Security Advisory: haproxy security update
🔗 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 (v. 9)
- haproxy-0:2.4.22-3.el9_3.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-0:2.4.22-3.el9_3.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-0:2.4.22-3.el9_3.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-0:2.4.22-3.el9_3.src as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-0:2.4.22-3.el9_3.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-debuginfo-0:2.4.22-3.el9_3.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-debuginfo-0:2.4.22-3.el9_3.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-debuginfo-0:2.4.22-3.el9_3.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-debuginfo-0:2.4.22-3.el9_3.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-debugsource-0:2.4.22-3.el9_3.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-debugsource-0:2.4.22-3.el9_3.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-debugsource-0:2.4.22-3.el9_3.s390x as a component of Red Hat Enterprise Linux AppStream (v. 9)
- haproxy-debugsource-0:2.4.22-3.el9_3.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 9)
✅ 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)
- selfhttps://access.redhat.com/errata/RHSA-2024:1142
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2231370
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2253037
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_1142.json