Advisory

GHSA-pqw5-jmp5-px4v

Also known as: CVE-2022-3224

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-09-16 00:00 UTC
Modified
2023-11-08 04:09 UTC

Affected packages and fixes

parse-url

npm · All systems

Affected

  • introduced 0, fixed 8.1.0 (semver)

Fixed versions

8.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences