CVE-2024-27931Deno
Medium 6.5
Follow: this CVE · Deno · Deno We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 42
- Auth required
- Yes
- Published
- Mar 5, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Deno.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | deno |
< 1.41.1 |
1.41.1 |
cargo update -p deno --precise 1.41.1 |
Per OSV / GitHub Advisories (GHSA-hrqr-jv8w-v9jh). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| deno | deno | < 1.41.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory