What’s Vulnerable › Vulnerabilities

CVE-2022-21122: Arbitrary Code Execution

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.

Affected products

How to fix

Upgrade to a fixed version: metacalc 0.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-21122 or the next vulnerability affects your stack