mirror of
https://github.com/0xMarcio/cve.git
synced 2025-05-06 10:41:43 +00:00
19 lines
871 B
Markdown
19 lines
871 B
Markdown
![]() |
### [CVE-2022-25904](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25904)
|
||
|

|
||
|

|
||
|

|
||
|
|
||
|
### Description
|
||
|
|
||
|
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.
|
||
|
|
||
|
### POC
|
||
|
|
||
|
#### Reference
|
||
|
- https://github.com/hacksparrow/safe-eval/issues/26
|
||
|
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701
|
||
|
|
||
|
#### Github
|
||
|
No PoCs found on GitHub currently.
|
||
|
|