Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1wcXc1LWptcDUtcHg0ds4AAu1E

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

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.

Permalink: https://github.com/advisories/GHSA-pqw5-jmp5-px4v
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wcXc1LWptcDUtcHg0ds4AAu1E
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: about 1 year ago


CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Identifiers: GHSA-pqw5-jmp5-px4v, CVE-2022-3224
References: Repository: https://github.com/ionicabizau/parse-url
Blast Radius: 32.4

Affected Packages

npm:parse-url
Dependent packages: 471
Dependent repositories: 201,945
Downloads: 15,338,388 last month
Affected Version Ranges: < 8.1.0
Fixed in: 8.1.0
All affected versions: 0.2.0, 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.3.8, 1.3.9, 1.3.10, 1.3.11, 3.0.0, 3.0.1, 3.0.2, 4.0.0, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 7.0.0, 7.0.1, 7.0.2, 8.0.0
All unaffected versions: 8.1.0, 9.0.0, 9.0.1, 9.2.0