CVE-2024-27931
MEDIUM 6.5CVSS 3.1Insufficient permission checking in `Deno.makeTemp*` APIs
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.
- Published
- 5 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-20
- Also known as
- GHSA-hrqr-jv8w-v9jh
- Sources
- NVDJSONOSV GHSA-hrqr-jv8w-v9jhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | deno | denocpe:2.3:a:deno:deno:*:*:*:*:*:*:*:* |
< 1.41.1 | 1.41.1 |
| OSV | crates.io | deno | < 1.41.1 | 1.41.1 |
References
- https://github.com/denoland/deno/security/advisories/GHSA-hrqr-jv8w-v9jh · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-27931 · ADVISORY
- https://github.com/denoland/deno · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 5 Mar 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Mar 2024)