CVE-2024-27934CWE-416

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

High · published March 6, 2024

CVSS v3.1
8.4
EPSS
0%
Percentile
32.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.4 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00392 · 32.2th percentile
Weakness
CWE-416 · Use After Free
Published
2024-03-06T20:56Z
EPSS history
Timeline
  • 06 MAR 20:56Z
    *const c_void / ExternalPointer unsoundness leading to use-after-free
    cvelistv5