CVE-2022-21122
9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | metacalc | unspecified < 0.0.2 | affected |
Weaknesses
- Arbitrary Code Execution
ADP Enrichment
CVE Program Container
Additional References
- https://snyk.io/vuln/SNYK-JS-METACALC-2826197
- https://github.com/metarhia/metacalc/pull/16
- https://github.com/metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08d2144bd
References
- https://snyk.io/vuln/SNYK-JS-METACALC-2826197
- https://github.com/metarhia/metacalc/pull/16
- https://github.com/metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08d2144bd
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.