CVE-2024-27931CWE-20

Insufficient permission checking in `Deno.makeTemp*` APIs

Medium · published March 5, 2024

CVSS v3.1
5.8
EPSS
0%
Percentile
41.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00491 · 41.3th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2024-03-05T16:43Z
EPSS history
Timeline
  • 05 MAR 16:43Z
    Insufficient permission checking in `Deno.makeTemp*` APIs
    cvelistv5