CVE & CISA-KEV Catalog

CVE-2022-31081

HIGHEPSS 79th pctl
7.3
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
libhttp-daemon-perlDebian
Fixed in:6.12-1+deb11u1CVE-2022-31081
Fixed in:6.14-1.1CVE-2022-31081
Fixed in:6.14-1.1CVE-2022-31081
Fixed in:6.14-1.1CVE-2022-31081
libhttp-daemon-perlUbuntu
Fixed in:6.01-1ubuntu0.14.04~esm1USN-5520-2
Fixed in:6.01-1ubuntu0.16.04~esm1USN-5520-2
Fixed in:6.01-1ubuntu0.1USN-5520-1
Fixed in:6.06-1ubuntu0.1USN-5520-1
Fixed in:6.13-1ubuntu0.1USN-5520-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityLow

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

Exploit Intelligence

2.11%probability of exploitation in 30 days
79thpercentile

Elevated risk: more likely to be exploited than 79% of all known CVEs.

References

Embed a live status badge for CVE-2022-31081
CVE-2022-31081 severity badge

Markdown

[![CVE-2022-31081](https://tridentstack.com/cve/badge/CVE-2022-31081.svg)](https://tridentstack.com/cve/CVE-2022-31081)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-31081"><img src="https://tridentstack.com/cve/badge/CVE-2022-31081.svg" alt="CVE-2022-31081"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.