CVE-2022-21122
Summary
| CVE | CVE-2022-21122 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-06-08 09:15:00 UTC |
| Updated | 2022-06-17 00:59:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-94
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Prevent arbitrary js code execution by tshemsedinov · Pull Request #16 · metarhia/metacalc · GitHub | MISC | github.com | |
| Prevent arbitrary js code execution · metarhia/metacalc@625c23d · GitHub | MISC | github.com | |
| Arbitrary Code Execution in metacalc | CVE-2022-21122 | Snyk | MISC | snyk.io | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Vladyslav Dukhin
There are currently no legacy QID mappings associated with this CVE.