{"id":"CVE-2022-24783","aliases":["CVE-2022-24783","GHSA-838h-jqp6-cf2f"],"related":[],"kind":"vulnerability","state":"published","title":"Sandbox bypass leading to arbitrary code execution in Deno","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe 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.\n\nThere is **no** evidence that this vulnerability has been exploited in the wild.\n\nThis vulnerability does **not** affect users of Deno Deploy.\n\n### Patches\n\nThe vulnerability has been patched in Deno 1.20.3.\n\n### Workarounds\n\nThere is no workaround. All users are recommended to upgrade to 1.20.3 immediately\n\n---\n\nThe cause of this error was that certain FFI operations did not correctly check for permissions. The issue was fixed in [this](https://github.com/denoland/deno/pull/14115) pull request.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2022-03-25T21:15:12.000Z","modified":"2026-06-17T04:32:30.617Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-269","CWE-863"],"affected":[{"ranges":[{"version":">= 1.18.0, < 1.20.3","status":"affected"}],"vendor":"denoland","product":"deno","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.18.0","status":"affected","fixed":"1.20.3"}],"ecosystem":"crates.io","package":"deno","purl":"pkg:cargo/deno","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.18.0","fixed":"1.20.3"}],"vendor":"deno","product":"deno","cpe":"cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-838h-jqp6-cf2f","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24783","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/denoland/deno/pull/14115","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/denoland/deno/commit/fcfce1bb869fddc629e6d889d6ba1328b80b0dcf","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/denoland/deno","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/denoland/deno/compare/v1.20.2...v1.20.3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/denoland/deno/releases/tag/v1.20.3","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-04-23T15:50:07.846Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24783","url":"https://www.cve.org/CVERecord?id=CVE-2022-24783","licence":"CVE Terms of Use","modified":"2025-04-23T18:43:31.886Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-838h-jqp6-cf2f","url":"https://github.com/advisories/GHSA-838h-jqp6-cf2f","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:36.288Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24783","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24783","licence":"Public domain","modified":"2026-06-17T04:32:30.617Z"}],"updatedAt":"2026-11-25T22:58:10.277Z","epss":{"score":0.01147,"percentile":0.67702,"date":"2026-12-01T12:00:22.000Z"}}