CVE-2021-32619CWE-285

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

Critical · published May 28, 2021

CVSS v3.1
9.8
EPSS
1%
Percentile
65.7
In the wild
Unconfirmed
What it is

🚨 A sneaky loophole in Deno could let modules bypass critical permission checks! 🔥 Think of it as a hotel where a guest can sneak into restricted areas by cleverly using the staff's access codes — they're not supposed to be allowed in there, but the system didn't check properly! An attacker could exploit this vulnerability to access sensitive resources, potentially compromising your application's security. This could lead to unauthorized data exposure or malicious file manipulation, making it a serious threat. Your entire codebase could be at risk!

Put simply

Think of it as a hotel where a guest can sneak into restricted areas by cleverly using the staff's access codes — they're not supposed to be allowed in there, but the system didn't check properly! In Deno versions 1.5.0 to 1.10.1, modules dynamically imported with `import()` or `new Worker` could bypass network and file system permission checks when importing other modules, enabling unauthorized access to resources.

What to do

An attacker could exploit this vulnerability to access sensitive resources, potentially compromising your application's security. This could lead to unauthorized data exposure or malicious file manipulation, making it a serious threat. Your entire codebase could be at risk! Upgrade to Deno version 1.10.2 immediately to close this critical vulnerability. Additionally, review your permission settings to ensure no other security gaps exist. Performing regular audits can help you stay ahead! Don't worry, security hero! You've got this — upgrade and fortify your defenses! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01113 · 65.7th percentile
Weakness
CWE-285 · Improper Authorization
Published
2021-05-28T21:00Z
EPSS history
Timeline
  • 28 MAY 21:00Z
    Static imports inside dynamically imported modules do not adhere to permission checks
    cvelistv5