Code Injection in metacalc
Critical severity
GitHub Reviewed
Published
Jun 9, 2022
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Jun 8, 2022
Published to the GitHub Advisory Database
Jun 9, 2022
Reviewed
Jun 9, 2022
Last updated
Jan 27, 2023
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