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.
References
Link | Resource |
---|---|
https://github.com/metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08d2144bd | Patch Third Party Advisory |
https://github.com/metarhia/metacalc/pull/16 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-METACALC-2826197 | Exploit Third Party Advisory |
https://github.com/metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08d2144bd | Patch Third Party Advisory |
https://github.com/metarhia/metacalc/pull/16 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-METACALC-2826197 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 06:43
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 9.0 |
References | () https://github.com/metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08d2144bd - Patch, Third Party Advisory | |
References | () https://github.com/metarhia/metacalc/pull/16 - Patch, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-JS-METACALC-2826197 - Exploit, Third Party Advisory |
Information
Published : 2022-06-08 09:15
Updated : 2024-11-21 06:43
NVD link : CVE-2022-21122
Mitre link : CVE-2022-21122
CVE.ORG link : CVE-2022-21122
JSON object : View
Products Affected
metarhia
- metacalc
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')