Vulnerability Description
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.
Related Weaknesses (CWE)
References
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/3a0a35e7509b42667b19ee
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/7
- https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.27/changes
FAQ
What is CVE-2022-50995?
CVE-2022-50995 is a documented vulnerability. 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 ...
How severe is CVE-2022-50995?
CVSS scoring is not yet available for CVE-2022-50995. Check NVD for updates.
Is there a patch for CVE-2022-50995?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.