{"id":"CVE-2021-32619","published":"2021-05-28T21:00:12Z","modified":"2024-08-03T23:25:30Z","title":"Static imports inside dynamically imported modules do not adhere to permission checks","vendor":"denoland","product":"deno","tier":"tail","description":{"text":"Deno is a runtime for JavaScript and TypeScript that uses V8 and is built in Rust. In Deno versions 1.5.0 to 1.10.1, modules that are dynamically imported through `import()` or `new Worker` might have been able to bypass network and file system permission checks when statically importing other modules. The vulnerability has been patched in Deno release 1.10.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01113,"percentile":0.65624,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-xpwj-7v8q-mcgj","tags":["x_refsource_CONFIRM"]}],"priority":{"score":20.0,"factors":[{"name":"EPSS percentile","points":13.12},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"denoland","affectedVersions":[{"vendor":"denoland","product":"deno","versions":["< 1.10.2"]}],"affected":[{"ecosystem":"crates.io","package":"deno","vulnerableRanges":[">=1.5.0, <1.10.2"],"patched":["1.10.2"],"from":["GHSA-xpwj-7v8q-mcgj"],"provenance":"source"}],"summary":{"text":"The flaw is in Deno, the JavaScript and TypeScript runtime, where modules loaded via dynamic import() or new Worker can statically import other modules without those imports being subject to network and file system permission checks. An attacker who can get a dynamically imported module to run can use this to bypass the runtime's permission restrictions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:13:25Z"},"euvd":{"id":"EUVD-2021-2134","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-32619","published":"2021-05-28","fixed":"1.10.2","kev":false},{"cve":"CVE-2021-41641","published":"2022-06-12","fixed":"1.16.0","kev":false,"link":{"from":"CVE-2021-32619","to":"CVE-2021-41641","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deno","fromFixed":"1.10.2","toFixed":"1.16.0","daysApart":380}]}},{"cve":"CVE-2022-24783","published":"2022-03-25","fixed":"1.20.3","kev":false},{"cve":"CVE-2023-22499","published":"2023-01-17","fixed":"1.29.3","kev":false}],"package":"crates.io:deno"}}