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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.025 (84.3th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 84th percentile — 84.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-21122: held from 0.025 to 0.025.

EPSS over last 30 days · oldest: 0.025 · newest: 0.025 · change: 0.000

Affected products

Weakness classification (CWE)

References

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.