CVE-2022-25904
Last modified
CVE-2022-25904 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 0.88% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Safe-Eval Project | Safe-Eval | <= 0.4.1 |
References
- https://github.com/hacksparrow/safe-eval/issues/26Exploit, Issue Tracking, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701Exploit, Issue Tracking, Third Party Advisory
- https://github.com/hacksparrow/safe-eval/issues/26Exploit, Issue Tracking, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701Exploit, Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25904?
How severe is CVE-2022-25904?
How do I fix CVE-2022-25904?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-25898The package jsrsasign before 10.5.25 are vulnerable to Impro…9.8
- CVE-2022-25899Authentication bypass for the Open AMT Cloud Toolkit softwar…9.8
- CVE-2022-2590A race condition was found in the way the Linux kernel's mem…7
- CVE-2022-25900All versions of package git-clone are vulnerable to Command …9.8
- CVE-2022-25901Versions of the package cookiejar before 2.1.4 are vulnerabl…7.5
- CVE-2022-25903The package opcua from 0.0.0 are vulnerable to Denial of Ser…7.5
- CVE-2022-25905Uncontrolled search path element in the Intel(R) oneAPI Data…7.3
- CVE-2022-25906All versions of the package is-http2 are vulnerable to Comma…7.8
- CVE-2022-25907The package ts-deepmerge before 2.0.2 are vulnerable to Prot…9.8
- CVE-2022-25908All versions of the package create-choo-electron are vulnera…9.8
- CVE-2022-25909Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-2591A vulnerability classified as critical has been found in TEM…7.5
Are you affected by CVE-2022-25904?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
