Skip to content
OpenAdvisories
Critical · 9.0 CVE-2022-21122 EUVD-2022-5939GHSA-5gc4-cx9x-9c43SNYK-JS-METACALC-2826197

Arbitrary Code Execution

Published Jun 3, 2022 · Updated Sep 16, 2024 · Assigned by snyk

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

VendorProductAffectedFixed
— metacalc unspecified – < 0.0.2 0.0.2

Affected packages

EcosystemPackageAffectedFixedRecord
npm metacalc < 0.0.2 0.0.2 GHSA-5gc4-cx9x-9c43

References