CVE-2023-45539
Podman vulnerability analysis and mitigation

Overview

HAProxy before version 2.8.2 contains a vulnerability (CVE-2023-45539) where it incorrectly accepts '#' as part of the URI component. The vulnerability was discovered in July 2023 and publicly disclosed in November 2023. This issue affects all HAProxy installations prior to version 2.8.2 (HAProxy Release, NVD).

Technical details

The vulnerability stems from HAProxy's improper handling of URL fragments (parts following the '#' character) in URI components. When processing requests, HAProxy would pass these fragments through without proper validation or trimming. This behavior contradicts RFC9110 specifications, which clearly state that URIs should not contain fragment components. The issue particularly affects path_end rules in the configuration. The vulnerability has been assigned a CVSS v3.1 base score of 8.2 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N (NVD).

Impact

The vulnerability could allow remote attackers to obtain sensitive information through misinterpretation of path_end rules. For example, a request containing 'index.html#.png' could be incorrectly routed to a static server, potentially exposing confidential data. Such requests appear at a rate of approximately 1 per million and are typically generated by poorly written crawlers or vulnerability scanners (HAProxy Release).

Mitigation and workarounds

The primary mitigation is to upgrade to HAProxy version 2.8.2 or later, which actively rejects requests containing URL fragments by default. For users unable to upgrade immediately, a temporary workaround is available by using the 'option accept-invalid-http-request' configuration directive, though this is not recommended for security reasons. The fix implemented in version 2.8.2 aligns with other HTTP implementations that either trim or reject such requests (HAProxy Release, Debian Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management