Lucene search

K
osvGoogleOSV:CURL-CVE-2023-23916
HistoryFeb 15, 2023 - 8:00 a.m.

HTTP multi-header compression denial of service

2023-02-1508:00:00
Google
osv.dev
1
http
multi-header
compression
denial of service
curl
algorithms
server
response
decompression chain
malloc bomb
allocated heap memory
out of memory errors
software

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

7.5 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

43.9%

curl supports โ€œchainedโ€ HTTP compression algorithms, meaning that a server
response can be compressed multiple times and potentially with different
algorithms. The number of acceptable โ€œlinksโ€ in this โ€œdecompression chainโ€ was
capped, but the cap was implemented on a per-header basis allowing a malicious
server to insert a virtually unlimited number of compression steps simply by
using many headers.

The use of such a decompression chain could result in a โ€œmalloc bombโ€, making
curl end up spending enormous amounts of allocated heap memory, or trying to
and returning out of memory errors.

6.5 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

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

7.5 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

43.9%