CVE-2024-27931
Insufficient validation of parameters in `Deno.makeTemp*` APIs would allow for creation of files outside of the allowed directories.
Does this matter?
Lower severity and a low EPSS score (0.49%). Track it; it rarely justifies an emergency change on its own.
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 3.1
- 6.5 MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS
- 0.49% probability · 41th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- deno/deno
- Source
- security-advisories@github.com
References
- https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jhExploit, Third Party Advisory
- https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jhExploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.