Arbitrary Code Execution Vulnerability in metacalc Package

Arbitrary Code Execution Vulnerability in metacalc Package

CVE-2022-21122 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our User Device Pen Test.