CVE-2024-34346
Last modified
CVE-2024-34346 is a critical-severity vulnerability rated 9/10 on the CVSS scale. Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. The Deno sandbox may be unexpectedly weakened by allowing file read/write access to privileged files in various locations on Unix and Windows platforms. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. The Deno sandbox may be unexpectedly weakened by allowing file read/write access to privileged files in various locations on Unix and Windows platforms. For example, reading `/proc/self/environ` may provide access equivalent to `--allow-env`, and writing `/proc/self/mem` may provide access equivalent to `--allow-all`. Users who grant read and write access to the entire filesystem may not realize that these access to these files may have additional, unintended consequences. The documentation did not reflect that this practice should be undertaken to increase the strength of the security sandbox. Users who run code with `--allow-read` or `--allow-write` may unexpectedly end up granting additional permissions via file-system operations. Deno 1.43 and above require explicit `--allow-all` access to read or write `/etc`, `/dev` on unix platform (as well as `/proc` and `/sys` on linux platforms), and any path starting with `\\` on Windows.
Metrics
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Deno | Deno | < 1.43.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-34346?
How severe is CVE-2024-34346?
How do I fix CVE-2024-34346?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-34340Cacti provides an operational monitoring and fault managemen…9.1
- CVE-2024-34341Trix is a rich text editor. The Trix editor, versions prior …5.4
- CVE-2024-34342react-pdf displays PDFs in React apps. If PDF.js is used to …7.1
- CVE-2024-34343Nuxt is a free and open-source framework to create full-stac…6.1
- CVE-2024-34344Nuxt is a free and open-source framework to create full-stac…8.8
- CVE-2024-34345The CycloneDX JavaScript library contains the core functiona…8.1
- CVE-2024-34347@hoppscotch/cli is a CLI to run Hoppscotch Test Scripts in C…8.3
- CVE-2024-34349Sylius is an open source eCommerce platform. Prior to 1.12.1…4.8
- CVE-2024-3435A path traversal vulnerability exists in the 'save_settings'…8.4
- CVE-2024-34350Next.js is a React framework that can provide building block…7.5
- CVE-2024-34351Next.js is a React framework that can provide building block…7.5
- CVE-2024-343521Panel is an open source Linux server operation and maintena…7.5
Are you affected by CVE-2024-34346?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
