GitHub Advisoryadvisory · npm

GHSA-pqw5-jmp5-px4v parse-url parses http URLs incorrectly, making it vulnerable to host name spoofing

MEDIUM Published 2022-09-16 Modified 2022-09-19 Official page ↗
Aliases
CVE-2022-3224
Ecosystem
npm
Packages
parse-url
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-115
Reviewed
2022-09-16

Affected packages

• npm parse-url: < 8.1.0 → fixed in 8.1.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-3224 Misinterpretation of Input in GitHub repository ionicabizau/parse-url prior to 8.1.0. vulnerability

Weakness · CWE (1)

  • CWE-115 Misinterpretation of Input weakness

References