CVE-2021-23434
A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.90%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === '__proto__' returns false if currentPath is ['__proto__']. This is because the === operator returns always false when the type of the operands is different.
- CVSS 3.1
- 8.6 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- EPSS
- 1.90% probability · 79th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-843
- Affected
- object-path project/object-path · debian/debian linux
- Source
- report@snyk.io
References
- https://github.com/mariocasciaro/object-path%230116Broken Link
- https://github.com/mariocasciaro/object-path/commit/7bdf4abefd102d16c163d633e8994ef154cab9ebPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00031.htmlMailing List, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-OBJECTPATH-1569453Exploit, Third Party Advisory
- https://github.com/mariocasciaro/object-path%230116Broken Link
- https://github.com/mariocasciaro/object-path/commit/7bdf4abefd102d16c163d633e8994ef154cab9ebPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00031.htmlMailing List, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-OBJECTPATH-1569453Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.