ionicabizau/parse-url · Security
parse-url parses http URLs incorrectly, making it vulnerable to host name spoofing
- GHSA ID
- GHSA-pqw5-jmp5-px4v
- CVE ID
- CVE-2022-3224
- Severity
- medium
- Published
- Updated
- CVSS
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS v3
- 6.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Description
parse-url prior to 8.1.0 is vulnerable to Misinterpretation of Input. parse-url parses certain http or https URLs incorrectly, identifying the URL's protocol as ssh. It may also parse the host name incorrectly.
CWEs
- CWE-115 · Misinterpretation of Input