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)
EPSS: 0.005 (39.4th percentile) — read the EPSS interpretation.
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.
Affected products
- Deno
- Denoland Deno — versions < 1.41.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-27931?
- CVE-2024-27931 is a medium-severity vulnerability in Deno, classified under Improper Input Validation. CVSS score: 5.8/10. Published 2024-03-05.
- How severe is CVE-2024-27931?
- Medium severity. CVSS v3 base score is 5.8 out of 10.
- Is CVE-2024-27931 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.