WWW::Form::UrlEncoded::XS versions before 0.28 for Perl write past the end of the Perl argument stack when parse_urlencoded returns many pairs
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANWWW-Form-UrlEncoded-XS |
< 0.28→ 0.28 |
0.28 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2022-50996 libwww-form-urlencoded-xs-perl Fix available
- Ubuntu UBUNTU-CVE-2022-50996 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.28 for Perl write past the end of the Perl argument stack when parse_urlencoded returns many pairs.
parse_urlencoded returns its result as a list, pushing each decoded key and value onto the argument stack without first extending the stack to fit them. parse_urlencoded_arrayref returns an array reference and is not affected.
A remote client that sends a query string or request body with many pairs to an application parsing it with parse_urlencoded can corrupt memory and 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
- report github.com
- web github.com
- web cpan.org