CVE-2024-27931: deno Improper Input Validation
Vulnerability summary
CVE-2024-27931 is a medium (CVSS 6.5) Improper Input Validation vulnerability in deno. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 40.9% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 05-03-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA5.8MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:NDiffers
- OSV · Crates.ioEcosystem advisory · calculated5.8MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
41%
Versus all other CVEs
30-day change
0.00 pp
From 0.49% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundDeno
Maturity: poc
Weaknesses
CWE · root causeAffected systems
3 vendors · 3 products
References
3 links- github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jhX Refsource CONFIRMWEBExploitThird Party Advisory
- github.com/denoland/denoPACKAGE