Vulnerability · Published Sep 8, 2021 · Assigned by mitre

CVE-2021-40346

High 7.5

In plain English

A high-severity security flaw in the haproxy package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 58.8% (higher than 99.1% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)58.8%top 0.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official description

An integer overflow exists in HAProxy 2.0 through 2.5 in htx_add_header that can be exploited to perform an HTTP request smuggling attack, allowing an attacker to bypass all configured http-request HAProxy ACLs and possibly other ACLs.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12haproxy2.2.16-3DEBIAN-CVE-2021-40346
Debian:13haproxy2.2.16-3DEBIAN-CVE-2021-40346
Debian:14haproxy2.2.16-3DEBIAN-CVE-2021-40346
Ubuntu:22.04:LTShaproxy2.2.9-2ubuntu2UBUNTU-CVE-2021-40346

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References