Public bug reported:
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
References:
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2348246
https://github.com/ashaffer/cached-path-relative/commit/40c73bf70c58add5aec7d11e4f36b93d144bb760
https://snyk.io/vuln/SNYK-JS-CACHEDPATHRELATIVE-2342653
https://www.cve.org/CVERecord?id=CVE-2021-23518
https://ubuntu.com/security/notices/USN-9326-1
Bugs:
** Affects: node-cached-path-relative in ESM Apps Security
Importance: Low
Status: New
** Affects: node-cached-path-relative (Ubuntu)
Importance: Low
Status: Invalid
** Affects: node-cached-path-relative (Ubuntu Bionic)
Importance: Low
Status: Won't Fix
** Affects: node-cached-path-relative in ESM Apps Security (Ubuntu Bionic)
Importance: Low
Status: Fix Released
** Affects: node-cached-path-relative (Ubuntu Focal)
Importance: Low
Status: Won't Fix
** Affects: node-cached-path-relative in ESM Apps Security (Ubuntu Focal)
Importance: Low
Status: Fix Released
** Affects: node-cached-path-relative (Ubuntu Impish)
Importance: Low
Status: Won't Fix
** Affects: node-cached-path-relative (Ubuntu Jammy)
Importance: Low
Status: Invalid
** Affects: node-cached-path-relative in ESM Apps Security (Ubuntu Jammy)
Importance: Low
Status: Invalid
** Affects: node-cached-path-relative (Ubuntu Kinetic)
Importance: Low
Status: Won't Fix
** Affects: node-cached-path-relative (Ubuntu Lunar)
Importance: Low
Status: Won't Fix
** Affects: node-cached-path-relative (Ubuntu Mantic)
Importance: Low
Status: Won't Fix
** Affects: node-cached-path-relative (Ubuntu Noble)
Importance: Low
Status: Invalid
** Affects: node-cached-path-relative in ESM Apps Security (Ubuntu Noble)
Importance: Low
Status: Invalid
** Affects: node-cached-path-relative (Ubuntu Oracular)
Importance: Low
Status: Won't Fix
** Affects: node-cached-path-relative (Ubuntu Plucky)
Importance: Low
Status: Won't Fix
** Affects: node-cached-path-relative (Ubuntu Questing)
Importance: Low
Status: Won't Fix
** Affects: node-cached-path-relative (Ubuntu Resolute)
Importance: Low
Status: Invalid
** Affects: node-cached-path-relative in ESM Apps Security (Ubuntu Resolute)
Importance: Low
Status: Invalid
** Affects: node-cached-path-relative (Ubuntu Stonking)
Importance: Low
Status: Invalid
** Affects: node-cached-path-relative (Ubuntu Tenacious)
Importance: Low
Status: Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2189445
Title:
CVE-2021-23518
To manage notifications about this bug go to:
https://bugs.launchpad.net/~ubuntu-esm/+archive/ubuntu/esm-apps-security/+source/node-cached-path-relative/+bug/2189445/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs