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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: snyk
Published: 2022-06-03T20:05:12.139900Z
Updated: 2024-09-16T19:56:29.255Z
Reserved: 2022-02-24T00:00:00
Link: CVE-2022-21122
Vulnrichment
No data.
NVD
Status : Modified
Published: 2022-06-08T09:15:08.470
Modified: 2024-11-21T06:43:56.573
Link: CVE-2022-21122
Redhat
No data.