CVE-2024-27931

Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. Insufficient validation of parameters in `Deno.makeTemp*` APIs would allow for creation of files outside of the allowed directories. This may allow the user to overwrite important files on the system that may affect other systems. A user may provide a prefix or suffix to a `Deno.makeTemp*` API containing path traversal characters. This is fixed in Deno 1.41.1.
Configurations

Configuration 1 (hide)

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

History

03 Jan 2025, 19:29

Type Values Removed Values Added
First Time Deno
Deno deno
References () https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jh - () https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jh - Exploit, Third Party Advisory
CPE cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
CWE NVD-CWE-noinfo

21 Nov 2024, 09:05

Type Values Removed Values Added
Summary
  • (es) Deno es un tiempo de ejecución de JavaScript, TypeScript y WebAssembly con valores predeterminados seguros. Una validación insuficiente de los parámetros en las API `Deno.makeTemp*` permitiría la creación de archivos fuera de los directorios permitidos. Esto puede permitir al usuario sobrescribir archivos importantes en el sistema que pueden afectar a otros sistemas. Un usuario puede proporcionar un prefijo o sufijo a una API `Deno.makeTemp*` que contenga caracteres de path traversal. Esto se solucionó en Deno 1.41.1.
References () https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jh - () https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jh -

05 Mar 2024, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-05 17:15

Updated : 2025-01-03 19:29


NVD link : CVE-2024-27931

Mitre link : CVE-2024-27931

CVE.ORG link : CVE-2024-27931


JSON object : View

Products Affected

deno

  • deno
CWE
CWE-20

Improper Input Validation

NVD-CWE-noinfo