SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2022-21122

The package metacalc before 0.0.2 are vulnerable to Arbitrary Code Execution when it exposes JavaScript's Math class to the v8 context.

CRITICAL 9.8EPSS 2.51%

Does this matter?

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

Description

The package metacalc before 0.0.2 are vulnerable to Arbitrary Code Execution when it exposes JavaScript's Math class to the v8 context. As the Math class is exposed to user-land, it can be used to get access to JavaScript's Function constructor.

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
2.51% probability · 84th percentile
CISA KEV
Not listed
Weakness
CWE-94
Affected
metarhia/metacalc
Source
report@snyk.io

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