HTTP::Body versions before 1.24_02 for Perl parse the trailer in quadratic time. Everything after the last chunk in the same call to add() is parsed w...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:16.04:LTSlibhttp-body-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSlibhttp-body-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSlibhttp-body-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibhttp-body-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibhttp-body-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libhttp-body-perl |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibhttp-body-perl |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
HTTP::Body versions before 1.24_02 for Perl parse the trailer in quadratic time. Everything after the last chunk in the same call to add() is parsed with HTTP::Headers, which takes time quadratic in the number of fields of one name. For example, it takes several seconds to parse 16 KiB of "a:" lines. A remote attackercan exhause the CPU with a single request. HTTP::Body version 1.25 limits the size and number of lines in the trailer.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report lists.security.metacpan.org
- report github.com
- report metacpan.org