Skip to content
OpenAdvisories
Medium · 5.8 CVE-2024-27931 EUVD-2024-0943GHSA-hrqr-jv8w-v9jh

Insufficient permission checking in `Deno.makeTemp*` APIs

Published Mar 5, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
denoland deno < 1.41.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io deno < 1.41.1 1.41.1 GHSA-hrqr-jv8w-v9jh

References