Loading...
Skip to main content

CVE-2023-22499 — Vulnerability in deno — CVE Details

HIGH

Deno is vulnerable to race condition via interactive permission prompt spoofing

Published January 20, 2023Updated September 10, 2026Source: osv

Summary

### Impact 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 like so: ``` // Expected prompt ⚠ ┌ Deno requests read access to "./log.txt". ├ Requested by `Deno.open()` API ├ Run again with --allow-read to bypass this prompt. └ Allow? [y/n] (y = yes, allow; n = no, deny) > // Prompt that users would see Do you want to continue? ``` 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). ### Patches The problem has been fixed in Deno v1.29.3; it is recommended all users update to this version. ### Workarounds Run with `--no-prompt` flag to disable interactive permission prompts.

Advisory Timeline

  • First published January 20, 2023 (1361 days ago).
  • Last revised September 10, 2026 — 1328 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update deno to 1.29.3 or later
cargo update -p deno --precise 1.29.3

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
deno
crates.io
All versions1.29.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-22499?
Deno is vulnerable to race condition via interactive permission prompt spoofing This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
How do I check if my project is affected by CVE-2023-22499?
CVE-2023-22499 affects deno. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-22499 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-mc52-jpm2-cqh6

Related CVEs

  • CVE-2026-27190
    HIGH

    Deno has a Command Injection via Incomplete shell metacharacter blocklist in node:child_process

  • CVE-2025-61787
    HIGH

    Deno is Vulnerable to Command Injection on Windows During Batch File Execution

  • CVE-2026-22864
    HIGH

    Deno has an incomplete fix for command-injection prevention on Windows — case-insensitive extension bypass

  • CVE-2024-27936
    HIGH

    Deno's deno_runtime vulnerable to interactive permission prompt spoofing via improper ANSI stripping

  • CVE-2023-33966
    HIGH

    Missing "--allow-net" permission check for built-in Node modules

  • CVE-2023-28446
    HIGH

    Interactive `run` permission prompt spoofing via improper ANSI neutralization

  • CVE-2024-27935
    HIGH

    Deno's Node.js Compatibility Runtime has Cross-Session Data Contamination

  • CVE-2026-49411
    MEDIUM

    Deno: Node TCPWrap numeric hostname aliases bypass --deny-net resolved-IP deny checks

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies