CVE-2022-21122Published Jun 3, 2022 · Jun 3Updated Oct 28
Arbitrary Code Execution
metacalc
Critical9.0Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| metacalc npm |
|
|
Original 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.
From the CVE record · snyk