Buffer Under-read
CVE-2022-50995
Summary
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.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- LOW
CWE-127 - Buffer Under-read
The software reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations prior to the targeted buffer.
References
Advisory Timeline
- Published