PT-2022-9406

CVE-2021-23518

·

تاريخ النشر

2022-01-21

·

تاريخ التحديث

2023-02-03

الوصف من

CVSS 3.1
9.8
حرجة
المقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions cached-path-relative versions prior to 1.1.0
Description The issue allows for Prototype Pollution via the cache variable set as {} instead of Object.create(null) in the cachedPathRelative function. This enables access to parent prototype properties when the object is used to create the cached relative path. Specifically, when the origin path is set as proto, the attribute of the object is accessed instead of a path.
Recommendations For versions prior to 1.1.0, update to version 1.1.0 or later to resolve the issue. As a temporary workaround, consider modifying the cachedPathRelative function to use Object.create(null) instead of {} for the cache variable to prevent Prototype Pollution.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-WG6G-PPVX-927H
DLA-3221-1
SNYK-JAVA-ORGWEBJARSNPM-2348246
SNYK-JS-CACHEDPATHRELATIVE-2342653
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾