Improper input validation in Deno
CVE-2024-27931
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.8 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.005, 42.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Deno
- Denoland Deno — versions < 1.41.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (KTH-LangSec/server-side-prototype-pollution). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jh (Exploit, Third Party Advisory)