UBUNTU-CVE-2021-40346

Source
https://ubuntu.com/security/CVE-2021-40346
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40346.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-40346
Upstream
Downstream
Related
Published
2021-09-07T15:00:00Z
Modified
2026-02-04T04:27:35Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:20.04:LTS / haproxy

Package

Name
haproxy
Purl
pkg:deb/ubuntu/haproxy@2.0.13-2ubuntu0.3?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.13-2ubuntu0.3

Affected versions

2.*
2.0.5-1
2.0.8-1
2.0.9-1
2.0.10-1
2.0.10-1ubuntu1
2.0.11-1ubuntu1
2.0.12-1ubuntu2
2.0.13-1ubuntu2
2.0.13-2
2.0.13-2ubuntu0.1
2.0.13-2ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "haproxy",
            "binary_version": "2.0.13-2ubuntu0.3"
        },
        {
            "binary_name": "vim-haproxy",
            "binary_version": "2.0.13-2ubuntu0.3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40346.json"

Ubuntu:22.04:LTS / haproxy

Package

Name
haproxy
Purl
pkg:deb/ubuntu/haproxy@2.2.9-2ubuntu2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.2.9-2ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "haproxy",
            "binary_version": "2.2.9-2ubuntu2"
        },
        {
            "binary_name": "vim-haproxy",
            "binary_version": "2.2.9-2ubuntu2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40346.json"