Skip to content
OpenAdvisories
Medium · 5.3 CVE-2021-27515 EUVD-2021-1029GHSA-9m6j-fcg5-2442

Path traversal in url-parse

Published Feb 21, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-url-parse 1.5.1-1 —
Debian 13 node-url-parse 1.5.1-1 —
Debian 12 node-url-parse 1.5.1-1 —
Debian 10 node-url-parse 1.2.0-2+deb10u2 DLA-3336-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-url-parse 1.4.7-3ubuntu0.1 USN-5973-1
Ubuntu 18.04 LTS node-url-parse 1.2.0-1ubuntu0.1 USN-5973-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS node-url-parse 1.0.5-2ubuntu0.1~esm2 USN-5973-1

Affected packages

EcosystemPackageAffectedFixedRecord
npm url-parse >= 0.1.0, < 1.5.0 1.5.0 GHSA-9m6j-fcg5-2442

Advisories 2

References