{"id":"GHSA-838h-jqp6-cf2f","summary":"Sandbox bypass leading to arbitrary code execution in Deno","details":"### 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.","aliases":["CVE-2022-24783"],"modified":"2023-11-08T04:08:36.288044Z","published":"2022-03-29T22:10:10Z","database_specific":{"cwe_ids":["CWE-269","CWE-863"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-03-29T22:10:10Z","nvd_published_at":"2022-03-25T22:15:00Z"},"references":[{"type":"WEB","url":"https://github.com/denoland/deno/security/advisories/GHSA-838h-jqp6-cf2f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24783"},{"type":"WEB","url":"https://github.com/denoland/deno/pull/14115"},{"type":"WEB","url":"https://github.com/denoland/deno/commit/fcfce1bb869fddc629e6d889d6ba1328b80b0dcf"},{"type":"PACKAGE","url":"https://github.com/denoland/deno"},{"type":"WEB","url":"https://github.com/denoland/deno/compare/v1.20.2...v1.20.3"},{"type":"WEB","url":"https://github.com/denoland/deno/releases/tag/v1.20.3"}],"affected":[{"package":{"name":"deno","ecosystem":"crates.io","purl":"pkg:cargo/deno"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.18.0"},{"fixed":"1.20.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-838h-jqp6-cf2f/GHSA-838h-jqp6-cf2f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}