CVE-2024-27934: deno Use After Free
Vulnerability summary
CVE-2024-27934 is a high (CVSS 8.8) Use After Free vulnerability in deno. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 31.9% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 06-03-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.36.2 and prior to version 1.40.3, use of inherently unsafe `*const c_void` and `ExternalPointer` leads to use-after-free access of the underlying structure, resulting in arbitrary code execution. Use of inherently unsafe `*const c_void` and `ExternalPointer` leads to use-after-free access of the underlying structure, which is exploitable by an attacker controlling the code executed inside a Deno runtime to obtain arbitrary code execution on the host machine regardless of permissions. This bug is known to be exploitable for both `*const c_void` and `ExternalPointer` implementations. Version 1.40.3 fixes this issue.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · Crates.ioEcosystem advisory · calculated8.4HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
0.00 pp
From 0.39% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundDeno
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Crates.Io1 product
- deno≥ 1.36.2, < 1.40.3
Deno1 product
- deno≥ 1.36.2, < 1.40.3
Denoland1 product
- deno≥ 1.36.2, < 1.40.3
3 vendors · 3 products
References
2 links- github.com/denoland/deno/security/advisories/GHSA-3j27-563v-28wfX Refsource CONFIRMWEBExploitVendor Advisory
- github.com/denoland/denoPACKAGE