Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2022-25904 Details

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

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
https://github.com/hacksparrow/safe-eval/issues/26 CVEExploitIssue TrackingThird Party Advisory
https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701 CVEExploitIssue TrackingThird Party Advisory
https://github.com/hacksparrow/safe-eval/issues/26 [email protected]ExploitIssue TrackingThird Party Advisory
https://security.snyk.io/vuln/SNYK-JS-SAFEEVAL-3175701 [email protected]ExploitIssue TrackingThird Party Advisory

Weakness Enumeration

CWE-IDCWE NameSource
CWE-1321Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')[email protected]
CWE-1321Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')CISA-ADP

Affected Products

ProductVersions
safe-eval project safe-eval
<= 0.4.1

CPE

  • cpe:2.3:a:safe-eval_project:safe-eval:*:*:*:*:*:node.js:*:*

Remediation

  • No remediation found in references.

Change History

6 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2022-25904
NVD Published Date:
Dec 20, 2022
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2022-25904 Details - Not Deferred