CVE-2022-31081

HTTP::Daemon is a simple http server class written in perl. Versions prior to 6.15 are subject to a vulnerability which could potentially be exploited to gain privileged access to APIs or poison intermediate caches. It is uncertain how large the risks are, most Perl based applications are served on top of Nginx or Apache, not on the `HTTP::Daemon`. This library is commonly used for local development and tests. Users are advised to update to resolve this issue. Users unable to upgrade may add additional request handling logic as a mitigation. After calling `my $rqst = $conn->get_request()` one could inspect the returned `HTTP::Request` object. Querying the 'Content-Length' (`my $cl = $rqst->header('Content-Length')`) will show any abnormalities that should be dealt with by a `400` response. Expected strings of 'Content-Length' SHOULD consist of either a single non-negative integer, or, a comma separated repetition of that number. (that is `42` or `42, 42, 42`). Anything else MUST be rejected.
HTTP Request/Response Smuggling
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.3 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHub_MCNA
7.3 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVEADP
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 59%
VendorProductVersion
http\\
𝑥
< 6.15
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libhttp-daemon-perl
bullseye
6.12-1+deb11u1
fixed
sid
6.16-1
fixed
trixie
6.16-1
fixed
bookworm
6.16-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libhttp-daemon-perl
kinetic
Fixed 6.14-1ubuntu1
released
jammy
Fixed 6.13-1ubuntu0.1
released
impish
ignored
focal
Fixed 6.06-1ubuntu0.1
released
bionic
Fixed 6.01-1ubuntu0.1
released
xenial
Fixed 6.01-1ubuntu0.16.04~esm1
released
trusty
Fixed 6.01-1ubuntu0.14.04~esm1
released
References