VULNERABILITY INTELLIGENCE
CVE-2022-21122
CVSS score9 CRITICAL
EPSS probability2.68%
CISA KEVNot currently listed
Published2022-06-08
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
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.
Weakness classification
- nvd@nist.gov: CWE-94
Primary references
- report@snyk.io — Patch, Third Party Advisory
- report@snyk.io — Patch, Third Party Advisory
- report@snyk.io — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory