CVE-2023-22499 Details
Description
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.
A vulnerability in Deno, a runtime for JavaScript and TypeScript, allows multi-threaded programs to spoof interactive permission prompts. This is achieved by rewriting the prompt to mislead users into thinking the program is awaiting confirmation for an unrelated action. A malicious program could clear the terminal screen after the permission prompt is displayed and replace it with a generic message. This issue affects Deno versions 1.9 and above, excluding headless servers that do not support interactive prompts. The vulnerability impacts users of the Web Worker API who rely on these prompts for permission management.
Users are advised to update Deno to version 1.29.3 or later. Those unable to upgrade can use the --no-prompt flag to disable interactive permission prompts.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/denoland/deno/pull/17392 | CVE | PatchThird Party Advisory |
| https://github.com/denoland/deno/security/advisories/GHSA-mc52-jpm2-cqh6 | CVE | ExploitThird Party Advisory |
| https://github.com/denoland/deno/pull/17392 | [email protected] | PatchThird Party Advisory |
| https://github.com/denoland/deno/security/advisories/GHSA-mc52-jpm2-cqh6 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| deno deno | >= 1.9.0, < 1.29.3 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jan 25, 2023 | Initial Analysis | [email protected] |