libhttp-daemon-perl: HTTP::Daemon is a simple http server class written in perl
CVE-2022-31081 is fixed in 3 products on 1 platform, first by libhttp-daemon-perl 6.01-1ubuntu0.1, released June 27, 2022. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libhttp-daemon-perl · Debian 12.15 (bookworm) | 6.14-1.1 | DEBIAN-CVE-2022-31081 | Jun 27, 2022 |
| libhttp-daemon-perl · Debian 13.5 (trixie) | 6.14-1.1 | DEBIAN-CVE-2022-31081 | Jun 27, 2022 |
| libhttp-daemon-perl · Debian 14 | 6.14-1.1 | DEBIAN-CVE-2022-31081 | Jun 27, 2022 |
| libhttp-daemon-perl · Ubuntu 18.04.6 LTS (bionic) | 6.01-1ubuntu0.1 | libhttp-daemon-perl 6.01-1ubuntu0.1 | Jun 27, 2022 |
| libhttp-daemon-perl · Ubuntu 20.04 LTS (focal) | 6.06-1ubuntu0.1 | libhttp-daemon-perl 6.06-1ubuntu0.1 | Jun 27, 2022 |
| libhttp-daemon-perl · Ubuntu 22.04.1 LTS (jammy) | 6.13-1ubuntu0.1 | libhttp-daemon-perl 6.13-1ubuntu0.1 | Jun 27, 2022 |
| perl-HTTP-Daemon · amzn 2023 | 6.16-1.amzn2023 | ALAS2023-2023-247 | Jul 5, 2023 |
| perl-HTTP-Daemon-tests · amzn 2023 | 6.16-1.amzn2023 | ALAS2023-2023-247 | Jul 5, 2023 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.