Headline
GHSA-5gc4-cx9x-9c43: Code Injection in metacalc
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.
Code Injection in metacalc
Critical severity GitHub Reviewed Published Jun 9, 2022 • Updated Jun 9, 2022
Related news
CVE-2022-21122: Arbitrary Code Execution in metacalc | CVE-2022-21122 | Snyk
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.