Skip to content

CVE-2021-32619 Static imports inside dynamically imported modules do not adhere to permission checks

CriticalCVSS 9.8 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io deno(crates.io) >= 1.5.0, < 1.10.2; >= 1.5.0, <= 1.10.1 1.10.2 Fixed
deno >= 1.5.0, < 1.10.2 1.10.2 Fixed
denoland deno = < 1.10.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io deno(crates.io) >= 1.5.0, <= 1.10.1 No fix listed
crates.io deno(crates.io) >= 1.5.0, < 1.10.2 1.10.2
deno >= 1.5.0, < 1.10.2 1.10.2
denoland deno = < 1.10.2 No fix listed

References