CVE-2022-31081
published high CVSS 3.1 · 7.3Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') in HTTP::Daemon
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libwww-perl | — | HTTP-Daemon< 6.15 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2405 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-247 | Fixed | Not stated | Amazon Linux assessment |
| Debian | buster | libhttp-daemon-perl | Advisory build | 6.01-3+deb10u1 | DLA-3127-1 |
| SUSE / openSUSE | SLE-12-SP5 | perl-HTTP-Daemonnoarch | Advisory build | 6.01-9.5.1 | SUSE-SU-2022:2872-1 |
| Ubuntu | bionic | libhttp-daemon-perl | Advisory build | 6.01-1ubuntu0.1 | USN-5520-1 |
| Amazon Linux | AL2 | perl-HTTP-Daemonnoarch | Listed in advisory | Not stated | ALAS2-2024-2405 |
| SUSE / openSUSE | SLE-15-SP3 | perl-HTTP-Daemonnoarch | Advisory build | 6.01-150000.3.5.1 | SUSE-SU-2022:2874-1 |
Show 14 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP4 | perl-HTTP-Daemonnoarch | Advisory build | 6.01-150000.3.5.1 | SUSE-SU-2022:2874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | perl-HTTP-Daemonnoarch | Advisory build | 6.01-150000.3.5.1 | SUSE-SU-2022:2874-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | perl-HTTP-Daemonnoarch | Advisory build | 6.01-150000.3.5.1 | SUSE-SU-2022:2874-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTTP-Daemonaarch64 | Advisory build | 6.14-2.1 | OPENSUSE-SU-2024:12216-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTTP-Daemonppc64le | Advisory build | 6.14-2.1 | OPENSUSE-SU-2024:12216-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTTP-Daemons390x | Advisory build | 6.14-2.1 | OPENSUSE-SU-2024:12216-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-HTTP-Daemonx86_64 | Advisory build | 6.14-2.1 | OPENSUSE-SU-2024:12216-1 |
| Ubuntu | esm | libhttp-daemon-perl | Advisory build | 6.01-1ubuntu0.14.04~esm1 | USN-5520-2 |
| Ubuntu | focal | libhttp-daemon-perl | Advisory build | 6.06-1ubuntu0.1 | USN-5520-1 |
| Ubuntu | jammy | libhttp-daemon-perl | Advisory build | 6.13-1ubuntu0.1 | USN-5520-1 |
| Ubuntu | xenial | libhttp-daemon-perl | Advisory build | 6.01-1ubuntu0.16.04~esm1 | USN-5520-2 |
| Amazon Linux | AL2 | perl-HTTP-Daemonsrc | Listed in advisory | Not stated | ALAS2-2024-2405 |
| Amazon Linux | AL2023 | perl-HTTP-Daemonnoarch | Listed in advisory | Not stated | ALAS2023-2023-247 |
| Amazon Linux | AL2023 | perl-HTTP-Daemonsrc | Listed in advisory | Not stated | ALAS2023-2023-247 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libwww-perl | HTTP-Daemon | < 6.15 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-444 CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')
References
11- http://metacpan.org/release/HTTP-Daemon/
- https://cwe.mitre.org/data/definitions/444.html
- https://datatracker.ietf.org/doc/html/rfc7230#section-9.5
- https://github.com/libwww-perl/HTTP-Daemon/commit/8dc5269d59e2d5d9eb1647d82c449ccd880f7fd0
- https://github.com/libwww-perl/HTTP-Daemon/commit/e84475de51d6fd7b29354a997413472a99db70b2
- https://github.com/libwww-perl/HTTP-Daemon/security/advisories/GHSA-cg8c-pxmv-w7cf
- [debian-lts-announce] 20220930 [SECURITY] [DLA 3127-1] libhttp-daemon-perl security update https://lists.debian.org/debian-lts-announce/2022/09/msg00038.html
- FEDORA-2023-c230cc08c4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7U4XEPZ5Q3LNOQF3E6EXFWVSEXU5IZ6T/
- FEDORA-2023-748e811334 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ECJ4ZPBQWD3B2CD6RRIVMENB5KUOJ3LC/
- FEDORA-2023-424636c7cb https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XQBW2D43TDNYX4R2YBTNNZDBNZ45DINN/
- https://portswigger.net/research/http-desync-attacks-request-smuggling-reborn
Provider assertions
3GitHub_M · cna
Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') in HTTP::Daemon
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6579bf2fe139187ba73699b4dbb4ea5ef49ebe1b82a9ffc98e0ffa0af87e53a9
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record