CVE-2024-27934

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*

History

03 Jan 2025, 19:23

Type Values Removed Values Added
First Time Deno
Deno deno
References () https://github.com/denoland/deno/security/advisories/GHSA-3j27-563v-28wf - () https://github.com/denoland/deno/security/advisories/GHSA-3j27-563v-28wf - Exploit, Vendor Advisory
CPE cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*

21 Nov 2024, 09:05

Type Values Removed Values Added
References () https://github.com/denoland/deno/security/advisories/GHSA-3j27-563v-28wf - () https://github.com/denoland/deno/security/advisories/GHSA-3j27-563v-28wf -
Summary
  • (es) Deno es un tiempo de ejecución de JavaScript, TypeScript y WebAssembly. A partir de la versión 1.36.2 y antes de la versión 1.40.3, el uso de `*const c_void` y `ExternalPointer` inherentemente inseguros conduce al acceso libre de uso a la estructura subyacente, lo que resulta en la ejecución de código arbitrario. El uso de `*const c_void` y `ExternalPointer` inherentemente inseguros conduce a use-after-free a la estructura subyacente, que es explotable por un atacante que controla el código ejecutado dentro de un tiempo de ejecución de Deno para obtener la ejecución de código arbitrario en la máquina host independientemente de permisos. Se sabe que este error es explotable tanto para implementaciones `*const c_void` como `ExternalPointer`. La versión 1.40.3 soluciona este problema.

21 Mar 2024, 02:52

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-21 02:52

Updated : 2025-01-03 19:23


NVD link : CVE-2024-27934

Mitre link : CVE-2024-27934

CVE.ORG link : CVE-2024-27934


JSON object : View

Products Affected

deno

  • deno
CWE
CWE-416

Use After Free