CVE-2024-27931

Insufficient permission checking in `Deno.makeTemp*` APIs

Published Mar 5, 2024 CVSS 3.1 · 5.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0943 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.
Github GHSA Github GHSA GHSA-hrqr-jv8w-v9jh Insufficient permission checking in `Deno.makeTemp*` APIs
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 12:41 AM
Reserved
Feb 28, 2024, 3:14 PM
Status
Analyzed
Published
Mar 5, 2024, 5:15 PM
Modified
Jun 17, 2026, 7:20 AM