Skip to content

CVE-2024-27934 *const c_void / ExternalPointer unsoundness leading to use-after-free

HighCVSS 8.8 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io deno(crates.io) >= 1.36.2, < 1.40.3 1.40.3 Fixed
deno >= 1.36.2, < 1.40.3 1.40.3 Fixed
denoland deno = >= 1.36.2, < 1.40.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io deno(crates.io) >= 1.36.2, < 1.40.3 1.40.3
denoland deno = >= 1.36.2, < 1.40.3 No fix listed
deno >= 1.36.2, < 1.40.3 1.40.3

References