10.0critical
Sandbox bypass leading to arbitrary code execution in Deno
- Severity
- 10.0critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.15% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-838h-jqp6-cf2f
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| denoland deno | >= 1.18.0, < 1.20.3 | CVE List |
| deno (crates.io) | from 1.18.0 before 1.20.3 | GitHub Advisory Database |
| deno deno | from 1.18.0 before 1.20.3 | NVD |
All scores
| GitHub_M | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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 permission checks and execute arbitrary shell code.
There is no evidence that this vulnerability has been exploited in the wild.
This vulnerability does not affect users of Deno Deploy.
Patches
The vulnerability has been patched in Deno 1.20.3.
Workarounds
There is no workaround. All users are recommended to upgrade to 1.20.3 immediately
The cause of this error was that certain FFI operations did not correctly check for permissions. The issue was fixed in this pull request.
NVD (es)
Deno es un tiempo de ejecución para JavaScript y TypeScript. Las versiones de Deno comprendidas entre la versión 1.18.0 y la 1.20.2 (inclusive) son vulnerables a un ataque en el que un actor malicioso que controle el código ejecutado en un tiempo de ejecución de Deno podría omitir todas las comprobaciones de permisos y ejecutar código shell arbitrario. Esta vulnerabilidad no afecta a usuarios de Deno Deploy. La vulnerabilidad ha sido parcheada en Deno versión 1.20.3. No se presenta ninguna medida de mitigación. Es recomendado a todos los usuarios actualizar a versión 1.20.3 inmediatamente
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-24783 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-838h-jqp6-cf2f changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-24783 changed 2026-06-17 | Public domain |