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 (39.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 40th percentile — 39.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Deno
- Denoland Deno — versions < 1.41.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jh (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.