GHSA-pqw5-jmp5-px4v

Suggest an improvement
Source
https://github.com/advisories/GHSA-pqw5-jmp5-px4v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-pqw5-jmp5-px4v/GHSA-pqw5-jmp5-px4v.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-pqw5-jmp5-px4v
Aliases
Published
2022-09-16T00:00:39Z
Modified
2023-11-01T04:59:07.015867Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2022-09-16T21:21:19Z",
    "severity": "MODERATE",
    "nvd_published_at": "2022-09-15T12:15:00Z",
    "cwe_ids": [
        "CWE-115"
    ]
}
References

Affected packages

npm / parse-url

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.1.0

Database specific

source

"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-pqw5-jmp5-px4v/GHSA-pqw5-jmp5-px4v.json"