CVE-2021-23518
Prototype Pollution in cached-path-relative
7.3
HIGH
CVSS 3.1
EPSS 1.9%
描述
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
如何修補 CVE-2021-23518
要修補 CVE-2021-23518,請將受影響套件升級到下列已修補版本。
- —升級至 1.0.2-1+deb11u1 或更新版本
- —升級至 1.1.0 或更新版本
CVE-2021-23518 正在被利用嗎?
低 — EPSS 為 1.9%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 1.0.2-1+deb11u1
- from 0, < 1.1.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |