CVE-2024-27931 MEDIUM

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

Vendor Denoland
Product deno
Weakness CWE-20 · Input validation
Published March 5, 2024
Last update August 2, 2024

CVSS base score

5.8/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 5, 2024 CVE published
August 2, 2024 Record updated