Sandbox escape via privileged file access
Published May 7, 2024 · Updated Aug 2, 2024
Incorrect authorization in Deno before 1.43.0 allows context-dependent attackers to escape sandbox limits through privileged files. The runtime treats broad --allow-read or --allow-write grants as sufficient for privileged paths, so /proc/self/environ exposes environment data and /proc/self/mem can confer unrestricted access. Execution of attacker-controlled code with broad filesystem permission is required, and impact can include host data disclosure, modification, and service interruption.
Summary
What happened
Incorrect authorization in Deno before 1.43.0 allows context-dependent attackers to escape sandbox limits through privileged files. The runtime treats broad --allow-read or --allow-write grants as sufficient for privileged paths, so /proc/self/environ exposes environment data and /proc/self/mem can confer unrestricted access. Execution of attacker-controlled code with broad filesystem permission is required, and impact can include host data disclosure, modification, and service interruption.
The record
- CVE
- CVE-2024-34346
- Published
- May 7, 2024
- Updated
- Aug 2, 2024
- Vendor
- Deno Land Inc.
- Product
- Deno
- Classifications
- CWE-863, T1548
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- May 7, 2024CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.43.0
- Affected versionversion=< 1.43.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo