SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2022-25904

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.

CRITICAL 9.8EPSS 0.88%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (0.88%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.88% probability · 57th percentile
CISA KEV
Not listed
Weakness
CWE-1321
Affected
safe-eval project/safe-eval
Source
report@snyk.io

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.