Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2023-40225

Опубликовано: 10 авг. 2023
Источник: redhat
CVSS3: 7.5
EPSS Низкий

Описание

HAProxy through 2.0.32, 2.1.x and 2.2.x through 2.2.30, 2.3.x and 2.4.x through 2.4.23, 2.5.x and 2.6.x before 2.6.15, 2.7.x before 2.7.10, and 2.8.x before 2.8.2 forwards empty Content-Length headers, violating RFC 9110 section 8.6. In uncommon cases, an HTTP/1 server behind HAProxy may interpret the payload as an extra request.

A flaw was found in HAProxy. Empty Content-Length headers are forwarded, which could cause an HTTP/1 server behind it to interpret the payload as an extra request. This may render the HTTP/1 server vulnerable to attacks in some uncommon cases.

Меры по смягчению последствий

This flaw can be mitigated by applying a rule to explicitly reject any requests with an empty Content-Lenght header. The following line can be added to any frontend configurations at the /etc/haproxy/haproxy.cfg file.

http-request deny if { hdr_len(content-length) 0 }

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Cryostat 2haproxyNot affected
Red Hat Ceph Storage 5haproxyAffected
Red Hat Enterprise Linux 6haproxyOut of support scope
Red Hat Enterprise Linux 7haproxyOut of support scope
Red Hat Enterprise Linux 8haproxyNot affected
Red Hat OpenShift Container Platform 3.11haproxyOut of support scope
Red Hat Software Collectionsrh-haproxy18-haproxyWill not fix
Red Hat Enterprise Linux 9haproxyFixedRHSA-2024:114205.03.2024
Red Hat Enterprise Linux 9.2 Extended Update SupporthaproxyFixedRHSA-2024:108905.03.2024
Red Hat OpenShift Container Platform 4.11haproxyFixedRHSA-2024:030825.01.2024

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-20
https://bugzilla.redhat.com/show_bug.cgi?id=2231370haproxy: Proxy forwards malformed empty Content-Length headers

EPSS

Процентиль: 8%
0.00032
Низкий

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 7.2
ubuntu
почти 2 года назад

HAProxy through 2.0.32, 2.1.x and 2.2.x through 2.2.30, 2.3.x and 2.4.x through 2.4.23, 2.5.x and 2.6.x before 2.6.15, 2.7.x before 2.7.10, and 2.8.x before 2.8.2 forwards empty Content-Length headers, violating RFC 9110 section 8.6. In uncommon cases, an HTTP/1 server behind HAProxy may interpret the payload as an extra request.

CVSS3: 7.2
nvd
почти 2 года назад

HAProxy through 2.0.32, 2.1.x and 2.2.x through 2.2.30, 2.3.x and 2.4.x through 2.4.23, 2.5.x and 2.6.x before 2.6.15, 2.7.x before 2.7.10, and 2.8.x before 2.8.2 forwards empty Content-Length headers, violating RFC 9110 section 8.6. In uncommon cases, an HTTP/1 server behind HAProxy may interpret the payload as an extra request.

CVSS3: 7.2
msrc
почти 2 года назад

Описание отсутствует

CVSS3: 7.2
debian
почти 2 года назад

HAProxy through 2.0.32, 2.1.x and 2.2.x through 2.2.30, 2.3.x and 2.4. ...

suse-cvrf
почти 2 года назад

Security update for haproxy

EPSS

Процентиль: 8%
0.00032
Низкий

7.5 High

CVSS3