{"id":"GHSA-pqw5-jmp5-px4v","summary":"parse-url parses http URLs incorrectly, making it vulnerable to host name spoofing","details":"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.","aliases":["CVE-2022-3224"],"modified":"2023-11-08T04:09:35.843578Z","published":"2022-09-16T00:00:39Z","database_specific":{"cwe_ids":["CWE-115"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-09-16T21:21:19Z","nvd_published_at":"2022-09-15T12:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3224"},{"type":"WEB","url":"https://github.com/ionicabizau/parse-url/commit/9cacf38de02db0fb1358bd6ec04543e523cd6a8e"},{"type":"PACKAGE","url":"https://github.com/ionicabizau/parse-url"},{"type":"WEB","url":"https://huntr.dev/bounties/3587a567-7fcd-4702-b7c9-d9ca565e3c62"}],"affected":[{"package":{"name":"parse-url","ecosystem":"npm","purl":"pkg:npm/parse-url"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-pqw5-jmp5-px4v/GHSA-pqw5-jmp5-px4v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}