{"id":"EUVD-2022-5939","revision":"55bc048b489c4c98a7c8b442939e9caa","records":[{"revision":"55bc048b489c4c98a7c8b442939e9caa","observedAt":"2026-10-30T19:47:55.442+00:00","statement":{"source":"euvd","id":"EUVD-2022-5939","aliases":["CVE-2022-21122","GHSA-5gc4-cx9x-9c43"],"title":"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 constru…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P","score":9,"severity":null}],"references":["https://snyk.io/vuln/SNYK-JS-METACALC-2826197","https://github.com/metarhia/metacalc/pull/16","https://github.com/metarhia/metacalc/commit/625c23d63eabfa16fc815f5832b147b08d2144bd"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-5939","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jun 3, 2022, 8:05:12 PM","dateUpdated":"Sep 16, 2024, 7:56:29 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2022-5939","identifiers":["EUVD-2022-5939","CVE-2022-21122","GHSA-5gc4-cx9x-9c43"]},"retained":false,"historicalAffected":[]}],"coverage":[]}