All vulnerabilities

Servers and applications

CVE-2021-32619

Static imports inside dynamically imported modules do not adhere to permission checks

Severity
Critical 9.8
Published
20 May 2021
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.10.2
Also known as
GHSA-xpwj-7v8q-mcgj
Sources
NVD, Project advisories (GitHub)

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.

Affected software

SoftwareAffected versions
DenoServers and applications · cpe:a:deno:deno
  • From 1.5.0 before 1.10.2
DenoServers and applications · github:denoland/deno
  • From 1.5.0 before 1.10.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-32619
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-32619
  • GitHub Advisory Database https://github.com/advisories/GHSA-xpwj-7v8q-mcgj
  • github.com https://github.com/denoland/deno/security/advisories/GHSA-xpwj-7v8q-mcgj