Command execution via spoofed permission prompts
Published Mar 24, 2023 · Updated Feb 19, 2025
Permission prompt spoofing in Deno 1.8.0 through 1.31.1 allows remote attackers to gain run access through crafted program names. The op_spawn_child and op_kill prompts render attacker-controlled program names without neutralizing ANSI cursor and line-clearing sequences, so displayed commands can be replaced. Exploitation requires an attached interactive prompt and user approval; headless execution is unaffected, and releases before 1.31.0 also require the unstable flag.
Summary
What happened
Permission prompt spoofing in Deno 1.8.0 through 1.31.1 allows remote attackers to gain run access through crafted program names. The op_spawn_child and op_kill prompts render attacker-controlled program names without neutralizing ANSI cursor and line-clearing sequences, so displayed commands can be replaced. Exploitation requires an attached interactive prompt and user approval; headless execution is unaffected, and releases before 1.31.0 also require the unstable flag.
The record
- CVE
- CVE-2023-28446
- Published
- Mar 24, 2023
- Updated
- Feb 19, 2025
- Vendor
- Deno Land Inc.
- Product
- Deno
- Classifications
- CWE-150, T1036
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 24, 2023CVE publishedPublication date reported by the CVE source.
- Feb 19, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 1.8.0, < 1.31.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream op_spawn_child prompt-spoofing PoCproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo