~ / search / GHSA-pqw5-jmp5-px4v

GHSA-pqw5-jmp5-px4v

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

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-3224

Packages

EcosystemPackageAffectedFixed in
npm parse-url < 8.1.0 8.1.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.