synced 2 MIN AGO
01 Record

CVE-2021-40346

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

UnratedPUBLISHEDCNA: mitre
CNA base scoreUnratedNo CNA CVSS vector

02 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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
58.83% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 99.0% of scored records. A rank, not a probability.
NVD base score
7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2021-09-08 16:40Z5 YR AGO
Last updated
2024-08-04 02:27Z2 YR AGO
Reserved
2021-08-31
Assigning CNA
mitre
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-190Integer Overflow or WraparoundBase
  • CWE-444Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')Base
Data version
5.1
Document digest
847be360698696009fd4542bfa525516f616201a0a760ff602c304f102370fe9

05 Affected products

VendorProductVersionsPlatforms
debiandebian_linuxNot specified—
fedoraprojectfedoraNot specified—
haproxyhaproxyNot specified—
redhatenterprise_linuxNot specified—
redhatopenshiftNot specified—
redhatrhel_software_collectionsNot specified—

06 References

07 Fixed in

Arch Linux

  • haproxy
    Fixed in 2.4.4-1

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

Debian 12

  • haproxy
    Fixed in 2.2.16-3

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • haproxy
    Fixed in 2.2.16-3

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • haproxy
    Fixed in 2.2.16-3

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • haproxy
    Fixed in 2.0.13-2ubuntu0.3

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • haproxy
    Fixed in 2.2.9-2ubuntu2

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.