~ / search / GHSA-v39p-96qg-c8rf

GHSA-v39p-96qg-c8rf

Prototype Pollution in object-path

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-23434

Packages

EcosystemPackageAffectedFixed in
npm object-path < 0.11.6 0.11.6

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.