RCE in Metarhia Metacalc
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. As the Math class is exposed to user-land, it can be used to get access to JavaScript's Function constructor.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.024 (82.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Metarhia Metacalc
- N/a Metacalc — versions unspecified
Weakness classification (CWE)
References
- report@snyk.io (Exploit, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-21122?
- CVE-2022-21122 is a critical-severity vulnerability in Metarhia Metacalc, classified under Code Injection. CVSS score: 9.0/10. Published 2022-06-08.
- How severe is CVE-2022-21122?
- Critical severity. CVSS v3 base score is 9.0 out of 10.