Skip to content
Fencer Intel
medium 5.3

CVE-2021-27515 json

Path traversal in url-parse

published 5y ago modified 4mo ago also GHSA-9m6j-fcg5-2442 , EUVD-2021-1029

cvss
5.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

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

Patch / fix

  • npm url-parse 1.5.0
  • url-parse_project url-parse 1.5.0
  • node-url-parse Debian 14, Debian 13, Debian 12 1.5.1-1

debian advisories DEBIAN-CVE-2021-27515

  • node-url-parse Ubuntu 18.04 LTS 1.2.0-1ubuntu0.1
  • node-url-parse Ubuntu 20.04 LTS 1.4.7-3ubuntu0.1
  • node-url-parse Ubuntu Pro 16.04 LTS 1.0.5-2ubuntu0.1~esm2

ubuntu advisories UBUNTU-CVE-2021-27515

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2021-27515 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-27515 updated cvss 5.3

nodejs-url-parse: mishandling certain uses of backslash may lead to confidentiality compromise

  • Red Hat Decision Manager 7 nodejs-url-parse nodejs-url-parse Red Hat Process Automation 7 nodejs-url-parse nodejs-url-parse
    affected: no fix planned “Out of support scope”
  • Red Hat Quay v3 quay/quay-rhel8 v3.6.0-62
    fixed: vendor fix RHSA-2021:3917
  • Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheus Red Hat Quay v3 quay/clair-rhel8 v3.6.0-70, quay/quay-builder-rhel8 v3.6.0-44, quay/quay-operator-rhel8 v3.6.0-43, quay/quay-operator-bundle v3.6.0-48, quay/quay-bridge-operator-rhel8 v3.6.0-40, quay/quay-bridge-operator-bundle v3.6.0-35, +3 more Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel8, rhacm2/search-ui-rhel8, rhacm2/kui-web-terminal-rhel8 Red Hat OpenShift Container Platform 4 openshift4/ose-grafana, openshift4/ose-thanos-rhel9, openshift4/ose-prometheus-rhel9
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.96% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • advisory.checkmarx.net https://advisory.checkmarx.net/advisory/CX-2021-4306 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N
GitHub 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
npm url-parse
>=0.1.0, <1.5.0
1.5.0

Classification

Weakness
  • CWE-23 Relative Path Traversal

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.