~ / search / GHSA-33vh-7x8q-mg35

GHSA-33vh-7x8q-mg35

safe-eval vulnerable to Prototype Pollution

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-25904

Packages

EcosystemPackageAffectedFixed in
npm safe-eval <= 0.4.1 no fix listed

Details

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

All versions of package safe-eval are vulnerable to Prototype Pollution which allows an attacker to add or modify properties of the Object.prototype.Consolidate when using the function safeEval. This is because the function uses vm variable, leading an attacker to modify properties of the Object.prototype.

References

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