CVE-2023-45539
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedHAProxy before 2.8.2 accepts # as part of the URI component, which might allow remote attackers to obtain sensitive information or have unspecified other impact upon misinterpretation of a path_end rule, such as routing index.html#.png to a static server.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceHAProxy before 2.8.2 incorrectly includes the URI fragment identifier (#) as part of the URI when evaluating path_end rules. Since HTTP clients do not send the fragment to servers, path_end matching on 'index.html#.png' incorrectly interprets this as ending in '.png' rather than '#', allowing attackers to bypass routing rules and potentially access sensitive resources by tricking the proxy into routing requests to incorrect backends.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 2.8.2CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed HAProxy versionRun 'haproxy -v' or 'haproxy -V' to display version informationAffected if The version displayed is earlier than 2.8.2 (for example, 2.8.1, 2.8.0, 2.7.x, 2.6.x, etc.)
-
Identify path_end ACL rules in configurationSearch HAProxy configuration files (typically in /etc/haproxy/haproxy.cfg or /usr/local/etc/haproxy.conf) for 'path_end' directives in acl definitionsAffected if Any 'path_end' rules are defined in the configuration and HAProxy version is below 2.8.2
-
Inspect frontend and backend sections using path_endReview the configuration around 'use_backend' or 'http-request deny' statements that reference path_end ACLsAffected if Requests are being routed or filtered based on path_end rules and the HAProxy version is vulnerable
-
Test fragment identifier handling (optional validation)Send a test request with a URL containing a fragment, such as GET /index.html#.png, and observe which backend or rule matchesAffected if The request is routed as if the path ends in '.png' rather than being rejected or routed based on the actual path before the '#' character
A user is affected if running HAProxy version earlier than 2.8.2 and using path_end ACL rules in their configuration to make routing or access control decisions.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2.8.2
Upgrade HAProxy to version 2.8.2 or later, which properly handles the fragment identifier in path_end rule evaluation.
HAProxy 2.8.2 or later
- Backup your current HAProxy configuration files (typically in /etc/haproxy/)
- Check your current HAProxy version using 'haproxy -v' or 'haproxy -V'
- Upgrade HAProxy to version 2.8.2 or later using your system's package manager (e.g., apt-get update && apt-get install haproxy=2.8.2*, yum update haproxy, or compile from source)
- Verify the new version is installed: 'haproxy -v'
- Test your configuration for syntax errors: 'haproxy -c -f /etc/haproxy/haproxy.cfg'
- Restart HAProxy to load the new version: 'systemctl restart haproxy' or 'service haproxy restart'
- Verify HAProxy is running correctly: 'systemctl status haproxy'
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,560.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-45539 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2023-45539 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data