Authorization Bypass Through User-Controlled Key
CVE-2022-0691
Summary
The NPM package url-parse has an authorization bypass vulnerability through "User-Controlled Key". Bypasses via the "\b" (backspace) character. Leading control characters in a URL are not stripped when passed to url-parse. This can cause input URLs to be mistakenly interpreted as a relative URL without a hostname and protocol, while the WHATWG URL parser will trim control characters and treat it as an absolute URL. This issue affects versions prior to 1.5.9.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-639 - Authorization Bypass Through User-Controlled Key
The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
References
Advisory Timeline
- Published