CVE-2024-27934
Last modified
CVE-2024-27934 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Deno | Deno | >= 1.36.2, < 1.40.3 |
References
- https://github.com/denoland/deno/security/advisories/GHSA-3j27-563v-28wfExploit, Vendor Advisory
- https://github.com/denoland/deno/security/advisories/GHSA-3j27-563v-28wfExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-27934?
How severe is CVE-2024-27934?
How do I fix CVE-2024-27934?
Are you affected by CVE-2024-27934?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
