Debian LinuxOperating system · Debian

CVE-2023-25725

CRITICAL · 9.1 CVSS v3.1 Published 2023-02-14
Fix available
A fix is available. Upgrade to 2.0.31 / 2.2.29 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

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 · unedited
HAProxy before 2.7.3 may allow a bypass of access control because HTTP/1 headers are inadvertently lost in some situations, aka "request smuggling." The HTTP header parsers in HAProxy may accept empty header field names, which could be used to truncate the list of HTTP headers and thus make some headers disappear after being parsed and processed for HTTP/1.0 and HTTP/1.1. For HTTP/2 and HTTP/3, the impact is limited because the headers disappear before being parsed and processed, as if they had not been sent by the client. The fixed versions are 2.7.3, 2.6.9, 2.5.12, 2.4.22, 2.2.29, and 2.0.31.

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 confidence

HAProxy before 2.7.3 contains a request smuggling vulnerability where HTTP/1 header parsers accept empty header field names, allowing attackers to truncate the header list and cause legitimate headers to disappear after parsing. This enables bypass of access controls in HTTP/1.0 and HTTP/1.1 connections.

MitigationUpgrade HAProxy to version 2.7.3 or later (or one of the other fixed versions: 2.6.9, 2.5.12, 2.4.22, 2.2.29, or 2.0.31) to patch this vulnerability.

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
Debian LinuxOperating system
Affected:= 10.0= 11.0
HaproxyWeb server / proxy
Affected:< 2.0.31>= 2.1.0, < 2.2.29>= 2.3.0, < 2.4.22>= 2.5.0, < 2.5.12>= 2.6.0, < 2.6.9>= 2.7.0, < 2.7.3

CVSS 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
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

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 checks

Work through these to decide whether this CVE applies to you.

  1. Check installed HAProxy version
    Run `haproxy -v` or `haproxy --version` to display the version. On Debian, also check `dpkg -l haproxy` or `apt-cache policy haproxy`.
    Affected if The version number is less than 2.0.31, OR between 2.1.0 and 2.2.28 inclusive, OR between 2.3.0 and 2.4.21 inclusive, OR between 2.5.0 and 2.5.11 inclusive, OR between 2.6.0 and 2.6.8 inclusive, OR between 2.7.0 and 2.7.2 inclusive.
  2. Verify HTTP/1 frontends are in use
    Examine HAProxy configuration files (typically in /etc/haproxy/) and look for `frontend` sections with `http` mode or `bind` directives using HTTP/1 ports (80, 443, or custom HTTP ports).
    Affected if Any frontend is configured to handle HTTP/1.0 or HTTP/1.1 traffic (this is the default mode when `mode http` is used).
  3. Confirm HAProxy is exposing HTTP services
    Review the HAProxy configuration for `bind` statements accepting HTTP connections. Check if there are any frontends with `mode http` that accept traffic on HTTP or HTTPS ports.
    Affected if HAProxy is configured to accept HTTP/1 connections on any port, because the vulnerability lies in the HTTP/1 header parser.

You are affected if your HAProxy version falls within any of the vulnerable version ranges AND you have HTTP/1 frontends or backends configured, which is the default configuration for HTTP traffic handling.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Upgrade available Upgrade to 2.0.31 / 2.2.29 / 2.4.22 or later
Fixed in 2.0.312.2.292.4.22
Interim mitigation

Upgrade HAProxy to version 2.7.3 or later (or one of the other fixed versions: 2.6.9, 2.5.12, 2.4.22, 2.2.29, or 2.0.31) to patch this vulnerability.

Recommended fix High confidence

Upgrade to 2.5.12 (latest fixed branch), or to the appropriate fixed version for your current branch: 2.0.31, 2.2.29, 2.4.22, or 2.5.12

  1. 1. Identify current HAProxy version using 'haproxy -v' or 'haproxy -V'
  2. 2. Determine which version branch currently runs (e.g., 2.0.x, 2.2.x, 2.3.x, 2.4.x, 2.5.x)
  3. 3. For Debian 10/11: Run 'apt update && apt list --upgradable' to check available packages
  4. 4. Upgrade to the fixed version for your branch: 2.0.31, 2.2.29, 2.4.22, or 2.5.12 respectively
  5. 5. On Debian: 'apt install haproxy=<fixed-version>' or 'apt upgrade haproxy'
  6. 6. Backup current config: 'cp /etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg.bak'
  7. 7. Reload HAProxy: 'systemctl reload haproxy' or 'haproxy -f /etc/haproxy/haproxy.cfg -sf $(cat /var/run/haproxy.pid)'
  8. 8. Verify version: 'haproxy -v' confirms the new version is running
Caveat Minor: HAProxy configuration is backward compatible; no breaking changes expected in the upgrade to these patch releases

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Debian Linux Scoped from the published advisory
  • Consultation1.0 h
  • Implementation2.0 h
  • Testing4.0 h
  • Review / QA1.0 h
8.0 hours of engineering $1,340
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,144.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-25725 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-25725 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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