~ / search / GHSA-5gc4-cx9x-9c43

GHSA-5gc4-cx9x-9c43

Code Injection in metacalc

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-21122

Packages

EcosystemPackageAffectedFixed in
npm metacalc < 0.0.2 0.0.2

Details

As written in the advisory (Markdown source, shown as plain text).

The package metacalc before 0.0.2 is 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.

References

External links from the advisory. They lead to third-party sites.