CVE-2021-40346

Scores

EPSS

0.924high92.4%
0%20%40%60%80%100%

Percentile: 92.4%

CVSS

7.5high3.x
0246810

CVSS Score: 7.5/10

All CVSS Scores

CVSS 3.x
7.5

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

CVSS 2.0
5.0

Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

astradebiannvdredhatubuntu

CWEs

CWE-190CWE-444

Related Vulnerabilities

Exploits

Exploit ID: CVE-2021-40346

Source: github-poc

URL: https://github.com/BoianEduard/CVE-2021-40346

Vulnerable Software (19)

Type: Configuration

Product: haproxy

Operating System: rhel

Trait:
{  "fixed": "2.0.16-4.el8"}

Source: redhat

Type: Configuration

Product: haproxy

Operating System: rhel

Trait:
{  "fixed": "2.0.19-2.el7"}

Source: redhat

Type: Configuration

Product: haproxy

Operating System: rhel

Trait:
{  "fixed": "2.2.13-2.el7"}

Source: redhat

Type: Configuration

Product: haproxy

Operating System: rhel

Trait:
{  "fixed": "2.2.15-2.el8"}

Source: redhat

Type: Configuration

Product: haproxy

Operating System: astra 1.7.3.7

Trait:
{  "unaffected": true}

Source: astra

Type: Configuration

Product: haproxy

Operating System: astra 4.7.3.5

Trait:
{  "unaffected": true}

Source: astra

Type: Configuration

Product: haproxy

Operating System: debian

Trait:
{  "fixed": "2.2.16-3"}

Source: debian

Type: Configuration

Product: haproxy

Operating System: debian buster 10

Trait:
{  "unaffected": true}

Source: debian

Type: Configuration

Product: haproxy

Operating System: debian stretch 9

Trait:
{  "unaffected": true}

Source: debian

Type: Configuration

Product: haproxy

Operating System: ubuntu bionic 18.04

Trait:
{  "unaffected": true}

Source: ubuntu

Type: Configuration

Product: haproxy

Operating System: ubuntu focal 20.04

Trait:
{  "fixed": "2.0.13-2ubuntu0.3"}

Source: ubuntu

Type: Configuration

Product: haproxy

Operating System: ubuntu hirsute 21.04

Trait:
{  "fixed": "2.2.9-1ubuntu0.2"}

Source: ubuntu

Type: Configuration

Product: haproxy

Operating System: ubuntu impish 21.10

Trait:
{  "fixed": "2.2.9-2ubuntu2"}

Source: ubuntu

Type: Configuration

Product: haproxy

Operating System: ubuntu jammy 22.04

Trait:
{  "fixed": "2.2.9-2ubuntu2"}

Source: ubuntu

Type: Configuration

Product: haproxy

Operating System: ubuntu trusty 14.04

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: haproxy

Operating System: ubuntu xenial 16.04

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Vendor: *

Product: debian_linux

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",      "vulnerable": true    }  ],  "operator": "OR"}

Source: nvd

Type: Configuration

Vendor: *

Product: fedora

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",      "vulnerable": true    },    {      "cpe23uri": "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",...

Source: nvd

Type: Configuration

Vendor: *

Product: haproxy

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:a:haproxy:haproxy:*:*:*:*:*:*:*:*",      "versionEndExcluding": "2.0.25",      "versionStartIncluding": "2.0.0",      "vulnerable": true    }, ...

Source: nvd

End of list