CVE-2024-27931 Insufficient permission checking in `Deno.makeTemp*` APIs
MediumCVSS 6.5
EPSS 0.59%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io deno(crates.io) | < 1.41.1 | 1.41.1 | Fixed |
| deno | < 1.41.1 | 1.41.1 | Fixed |
| denoland deno | = < 1.41.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io deno(crates.io) | < 1.41.1 | 1.41.1 |
| denoland deno | = < 1.41.1 | No fix listed |
| deno | < 1.41.1 | 1.41.1 |
References
- https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jh exploit third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com