Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Deno | Deno | < 1.41.1 |
Related Weaknesses (CWE)
References
- https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jhExploitThird Party Advisory
- https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jhExploitThird Party Advisory
FAQ
What is CVE-2024-27931?
CVE-2024-27931 is a vulnerability with a CVSS score of 5.8 (MEDIUM). 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 ...
How severe is CVE-2024-27931?
CVE-2024-27931 has been rated MEDIUM with a CVSS base score of 5.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-27931?
Check the references section above for vendor advisories and patch information. Affected products include: Deno Deno.