Arbitrary Code Execution
cve-program · CVE-2022-21122
PublishedThe 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.
Read the publisher's advisoryeuvd · EUVD-2022-5939
PublishedThe 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.
Read the publisher's advisorynvd · CVE-2022-21122
PublishedThe 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.
Read the publisher's advisoryosv · GHSA-5gc4-cx9x-9c43
PublishedThe 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2022-21122 · CVE overview and exploitation status
cve-program · CVE-2022-21122
- https://snyk.io/vuln/SNYK-JS-METACALC-2826197
- https://github.com/metarhia/metacalc/pull/16
- https://github.com/metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08d2144bd
euvd · EUVD-2022-5939
- https://snyk.io/vuln/SNYK-JS-METACALC-2826197
- https://github.com/metarhia/metacalc/pull/16
- https://github.com/metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08d2144bd
nvd · CVE-2022-21122
- https://github.com/metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08d2144bd
- https://github.com/metarhia/metacalc/pull/16
- https://snyk.io/vuln/SNYK-JS-METACALC-2826197
osv · GHSA-5gc4-cx9x-9c43
Related changes
Linked by CVE identifierNo related changes are available here.