PT-2022-14865 · Metacalc · Metacalc

Vladyslav Dukhin

·

Published

2022-06-03

·

Updated

2026-03-16

·

CVE-2022-21122

CVSS v3.1

9.0

Critical

VectorAV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions metacalc versions prior to 0.0.2
Description The issue allows for Arbitrary Code Execution when the Math class is exposed to the v8 context, enabling access to JavaScript's Function constructor. This exposure to user-land can be exploited.
Recommendations For versions prior to 0.0.2, update to version 0.0.2 or later to resolve the issue. As a temporary workaround, consider restricting access to the Math class to minimize the risk of exploitation.

Exploit

Fix

Code Injection

Weakness Enumeration

Related Identifiers

CVE-2022-21122
GHSA-5GC4-CX9X-9C43
SNYK-JS-METACALC-2826197

Affected Products

Metacalc