cve.bz

CVE-2022-31081 HTTP Request Smuggling

6.5 mediumExploit referenceEPSS 2.4%Fix available

Medium (6.5). EPSS 2.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
2.4% (unchanged from 2.4% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-444 Inconsistent Interpretation of HTTP Requests (HTTP Request Smuggling)
OWASP Top 10
A06:2025 Insecure Design
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-31081 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-31081?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-31081?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-31081 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
http\:\before 6.15
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libhttp-daemon-perl6.01-3+deb10u1DLA-3127-1
Debian12, 13, 14libhttp-daemon-perl6.14-1.1DEBIAN-CVE-2022-31081
Ubuntu18.04:LTSlibhttp-daemon-perl6.01-1ubuntu0.1UBUNTU-CVE-2022-31081 USN-5520-1
Ubuntu20.04:LTSlibhttp-daemon-perl6.06-1ubuntu0.1UBUNTU-CVE-2022-31081 USN-5520-1
Ubuntu22.04:LTSlibhttp-daemon-perl6.13-1ubuntu0.1UBUNTU-CVE-2022-31081 USN-5520-1
UbuntuPro:14.04:LTSlibhttp-daemon-perl6.01-1ubuntu0.14.04~esm1UBUNTU-CVE-2022-31081 USN-5520-2
UbuntuPro:16.04:LTSlibhttp-daemon-perl6.01-1ubuntu0.16.04~esm1UBUNTU-CVE-2022-31081 USN-5520-2
SUSELinux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Basesystem 15 SP4perl-HTTP-Daemon6.01-150000.3.5.1SUSE-SU-2022:2874-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5perl-HTTP-Daemon6.01-9.5.1SUSE-SU-2022:2872-1
openSUSELeap 15.3, Leap 15.4perl-HTTP-Daemon6.01-150000.3.5.1SUSE-SU-2022:2874-1
openSUSETumbleweedperl-HTTP-Daemon6.14-2.1openSUSE-SU-2024:12216-1
Alpaquita23perl-http-daemon6.14-r1BELL-CVE-2022-31081
Alpaquitastreamperl-http-daemon6.16-r0BELL-CVE-2022-31081

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7perl-HTTP-DaemonOut of support scope
Red Hat Software Collectionsrh-perl530-perl-HTTP-DaemonFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-31081.

Attack patterns (CAPEC)

  • CAPEC-33 HTTP Request Smuggling Likelihood: Medium · Severity: High
  • CAPEC-273 HTTP Response Smuggling Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON