
CVE catalog
CVE-2021-23518
node-cached-path-relative: CVE-2021-23518
- Severity
- High · CVSS 8.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.94% · Oct 25, 2026
The package cached-path-relative before 1.1.0 are vulnerable to Prototype Pollution via the cache variable that is set as {} instead of Object.create(null) in the cachedPathRelative function, which allows access to the parent prototype properties when the object is used to create the cached relative path. When using the origin path as __proto__, the attribute of the object is accessed instead of a path. **Note:** This vulnerability derives from an incomplete fix in https://security.snyk.io/vuln/SNYK-JS-CACHEDPATHRELATIVE-72573
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-cached-path-relative | sid | 1.1.0+~1.0.2-1 | fixed |
| Debian | node-cached-path-relative | forky | 1.1.0+~1.0.2-1 | fixed |
| Debian | node-cached-path-relative | trixie | 1.1.0+~1.0.0-3 | fixed |
| Debian | node-cached-path-relative | bookworm | 1.1.0+~1.0.0-3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-cached-path-relative | source | sid | 1.1.0+~1.0.0-1 | not yet assigned | Not reported | [1004338] |
| Debian | node-cached-path-relative | source | forky | 1.1.0+~1.0.0-1 | not yet assigned | Not reported | [1004338] |
| Debian | node-cached-path-relative | source | trixie | 1.1.0+~1.0.0-1 | not yet assigned | Not reported | [1004338] |
| Debian | node-cached-path-relative | source | bookworm | 1.1.0+~1.0.0-1 | not yet assigned | Not reported | [1004338] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-cached-path-relative]Fixed
Details (2)
1.1.0+~1.0.0-3· all · bookwormFixed · Fixed:
1.1.0+~1.0.0-1dsa · node-cached-path-relative · debian · bookworm; dsa · node-cached-path-relative · debian · 12
1.1.0+~1.0.0-3· all · bookwormFixed · Fixed:
1.1.0+~1.0.0-1dsa · node-cached-path-relative · debian · bookworm; dsa · node-cached-path-relative · debian · 12
[Debian 13 (Trixie)]
- [node-cached-path-relative]Fixed
Details (2)
1.1.0+~1.0.0-3· all · trixieFixed · Fixed:
1.1.0+~1.0.0-1dsa · node-cached-path-relative · debian · 13
1.1.0+~1.0.0-3· all · trixieFixed · Fixed:
1.1.0+~1.0.0-1dsa · node-cached-path-relative · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-23518]
- [https://security-tracker.debian.org/tracker/CVE-2021-23518]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-23518.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]