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.
History

No history.

cve-icon 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

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2022-06-08T09:15:08.470

Modified: 2022-06-17T00:59:22.543

Link: CVE-2022-21122

cve-icon Redhat

No data.