CVE-2024-34346:
Deno permission escalation vulnerability via open of privileged files with missing `--deny` flag
8.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.08574%
CWE
Published
5/8/2024
Updated
5/8/2024
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
deno | rust | < 1.43.1 | 1.43.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient authorization checks in Deno's permission system. The core functions responsible for validating read/write access (check_read and check_write in the permissions module) did not account for privileged OS paths that could bypass sandbox restrictions. These functions allowed operations on sensitive paths with generic --allow-read/--allow-write flags, rather than requiring the stricter --allow-all. The patch explicitly gates these paths behind --allow-all, confirming the vulnerability resided in these permission-checking functions.