WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANWWW-Form-UrlEncoded-XS |
< 0.27→ 0.27 |
0.27 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2022-50995 libwww-form-urlencoded-xs-perl Fix available
- Ubuntu UBUNTU-CVE-2022-50995 libwww-form-urlencoded-xs-perl No fixed version in this record
Original description The description as published by the source.
WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string.
parse_urlencoded and parse_urlencoded_arrayref check for a trailing "&" or ";" by reading the last byte of the input, without first checking that the input has any bytes.
A remote client that sends an empty query string or request body to an application parsing it with this module can crash the process.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report github.com
- web github.com
- web cpan.org