{"id":"CVE-2023-22499","published":"2023-01-17T20:23:20Z","modified":"2025-03-10T21:22:41Z","title":"Interactive permission prompt spoofing in Deno","vendor":"denoland","product":"deno","tier":"tail","description":{"text":"Deno is a runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Multi-threaded programs were able to spoof interactive permission prompt by rewriting the prompt to suggest that program is waiting on user confirmation to unrelated action. A malicious program could clear the terminal screen after permission prompt was shown and write a generic message. This situation impacts users who use Web Worker API and relied on interactive permission prompt. The reproduction is very timing sensitive and can’t be reliably reproduced on every try. This problem can not be exploited on systems that do not attach an interactive prompt (for example headless servers). The problem has been fixed in Deno v1.29.3; it is recommended all users update to this version. Users are advised to upgrade. Users unable to upgrade may run with --no-prompt flag to disable interactive permission prompts.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00641,"percentile":0.5169,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-mc52-jpm2-cqh6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/denoland/deno/pull/17392","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.34},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"denoland","affectedVersions":[{"vendor":"denoland","product":"deno","versions":[">= 1.9, < 1.29.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-03-10T21:01:13.191099Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"deno","vulnerableRanges":[">=1.9.0, <1.29.3"],"patched":["1.29.3"],"from":["GHSA-mc52-jpm2-cqh6"],"provenance":"source"}],"summary":{"text":"Deno, the JavaScript and TypeScript runtime built on V8 and Rust, has an interactive permission prompt that a multi-threaded program can spoof through a race condition in the Web Worker API, rewriting the prompt to look like it is awaiting user confirmation for an unrelated action. An attacker would need a malicious program running in an environment with a Deno interactive prompt (not headless servers), the attack is timing-sensitive and not reliably reproducible, and it requires user interaction, since the victim must approve the spoofed prompt.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:29Z"},"euvd":{"id":"EUVD-2023-0507","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-32619","published":"2021-05-28","fixed":"1.10.2","kev":false},{"cve":"CVE-2021-41641","published":"2022-06-12","fixed":"1.16.0","kev":false},{"cve":"CVE-2022-24783","published":"2022-03-25","fixed":"1.20.3","kev":false,"link":{"from":"CVE-2022-24783","to":"CVE-2023-22499","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deno","fromFixed":"1.20.3","toFixed":"1.29.3","daysApart":298}]}},{"cve":"CVE-2023-22499","published":"2023-01-17","fixed":"1.29.3","kev":false},{"cve":"CVE-2023-26103","published":"2023-02-25","fixed":"1.31.0","kev":false,"link":{"from":"CVE-2023-22499","to":"CVE-2023-26103","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deno","fromFixed":"1.29.3","toFixed":"1.31.0","daysApart":39}]}},{"cve":"CVE-2023-28446","published":"2023-03-24","fixed":"1.31.2","kev":false},{"cve":"CVE-2023-33966","published":"2023-05-31","fixed":"1.34.1","kev":false}],"package":"crates.io:deno"}}