{"id":"CVE-2021-32619","state":"PUBLISHED","title":"Static imports inside dynamically imported modules do not adhere to permission checks","description":"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.","publishedAt":"2021-05-28T21:00:12.000Z","updatedAt":"2024-08-03T23:25:30.920Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["denoland deno"],"affected":[{"vendor":"denoland","product":"deno","versions":[{"version":"< 1.10.2","status":"affected"}]}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-xpwj-7v8q-mcgj"],"weaknesses":["CWE-285"],"ingestedAt":"2026-10-29T19:48:33.225Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/32xxx/CVE-2021-32619.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-32619","state":"PUBLISHED","datePublished":"2021-05-28T21:00:12.000Z","dateUpdated":"2024-08-03T23:25:30.920Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-05-12T00:00:00.000Z"},"containers":{"cna":{"title":"Static imports inside dynamically imported modules do not adhere to permission checks","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"denoland","product":"deno","versions":[{"version":"< 1.10.2","status":"affected"}]}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-xpwj-7v8q-mcgj","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-285","description":"CWE-285: Improper Authorization","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-05-28T21:00:12.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-xpwj-7v8q-mcgj","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32619","STATE":"PUBLIC","TITLE":"Static imports inside dynamically imported modules do not adhere to permission checks"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"deno","version":{"version_data":[{"version_value":"< 1.10.2"}]}}]},"vendor_name":"denoland"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-285: Improper Authorization"}]}]},"references":{"reference_data":[{"name":"https://github.com/denoland/deno/security/advisories/GHSA-xpwj-7v8q-mcgj","refsource":"CONFIRM","url":"https://github.com/denoland/deno/security/advisories/GHSA-xpwj-7v8q-mcgj"}]},"source":{"advisory":"GHSA-xpwj-7v8q-mcgj","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-xpwj-7v8q-mcgj","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T23:25:30.920Z"}}]}}}