CVE-2021-27515
Npm vulnerability
url-parse before 1.5.0 mishandles certain uses of backslash such as http:\/ and interprets the URI as a relative path.
Affected products
Npm. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Npm runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2021-27515
- github.com/unshiftio/url-parse/pull/197
- github.com/unshiftio/url-parse/commit/d1e7e8822f26e8a49794b757123b51386325b2b0
- github.com/unshiftio/url-parse/compare/1.4.7...1.5.0
- advisory.checkmarx.net/advisory/CX-2021-4306
- lists.debian.org/debian-lts-announce/2023/02/msg00030.html
- github.com/github/advisory-database/pull/6763
- github.com/advisories/GHSA-9m6j-fcg5-2442
- nvd.nist.gov/vuln/detail/CVE-2021-27515
- cve.org/CVERecord?id=CVE-2021-27515
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.