Skip to main content
← All vulnerabilities
CVE-2024-27931GHSA-HRQR-JV8W-V9JH

Insufficient permission checking in `Deno.makeTemp*` APIs

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.41.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • denoland deno

    fixed in 1.41.1

  • denocrates.io

    fixed in 1.41.1

References 1

GitHub · denoland/deno