ADVISORIES

GitHub Advisory Database

GHSA-pqw5-jmp5-px4v

parse-url parses http URLs incorrectly, making it vulnerable to host name spoofing

Moderate CVE-2022-3224

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.

Affected packages

EcosystemPackageAffected versions
npmparse-url
All versions before 8.1.0 (fixed in 8.1.0)

References