CVE-2024-27931

MEDIUM

Deno < 1.41.1 - Path Traversal via Temp File API Parameter Injection

Title source: llm
STIX 2.1

Description

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.

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_confirm
https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jh

Scores

CVSS v3 5.8
EPSS 0.0049
EPSS Percentile 38.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-20
Status published
Products (2)
crates.io/deno 0 - 1.41.1crates.io
deno/deno < 1.41.1
Published Mar 05, 2024
Tracked Since Feb 18, 2026