Skip to content

CVE-2024-27931 Insufficient permission checking in `Deno.makeTemp*` APIs

MediumCVSS 6.5 EPSS 0.59%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io deno(crates.io) < 1.41.1 1.41.1 Fixed
deno < 1.41.1 1.41.1 Fixed
denoland deno = < 1.41.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io deno(crates.io) < 1.41.1 1.41.1
denoland deno = < 1.41.1 No fix listed
deno < 1.41.1 1.41.1

References