# CVE-2024-27936: Deno's deno_runtime vulnerable to interactive permission prompt spoofing via improper ANSI stripping

Source: https://junglewise.ai/threats/cve-2024-27936-deno-s-deno-runtime-vulnerable-to-interactive-permission-prompt  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-03-05  
License: CC BY 4.0 with a link back

CVE-2024-27936 · Severity: low · CVSS 3.1 · Published 2024-03-05

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

Technologies: [deno (crates.io)](https://junglewise.ai/threats/technologies/deno), [deno_runtime (crates.io)](https://junglewise.ai/threats/technologies/deno-runtime). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2024-27936 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-27936 being exploited in the wild.

**How severe is CVE-2024-27936?** Low severity, with a CVSS score of 3.1, published 5 March 2024.

**Which products and versions are affected?** deno (crates.io) SEMVER:introduced=1.32.1,fixed=1.41.0; deno_runtime (crates.io) SEMVER:introduced=0.103.0,fixed=0.147.0.

**Is there a fix for CVE-2024-27936?** Yes. deno (crates.io): upgrade to 1.41.0 or later; deno_runtime (crates.io): upgrade to 0.147.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-27936?** Check whether you run deno (crates.io) or deno_runtime (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- deno (crates.io): upgrade to 1.41.0 or later

  ```sh
  cargo update -p deno
  ```

- deno_runtime (crates.io): upgrade to 0.147.0 or later

  ```sh
  cargo update -p deno_runtime
  ```


## Affected products

- deno (crates.io) SEMVER:introduced=1.32.1,fixed=1.41.0
- deno_runtime (crates.io) SEMVER:introduced=0.103.0,fixed=0.147.0

## Identifiers

- CVE-2024-27936
- GHSA-m4pq-fv2w-6hrw

## Related threats

- [Deno denial of service via non-ASCII WebSocket response headers](https://junglewise.ai/threats/cve-2026-55517-deno-denial-of-service-via-non-ascii-websocket-response-headers)
- [Deno environment permission bypass in process.loadEnvFile](https://junglewise.ai/threats/cve-2026-49983-deno-environment-permission-bypass-in-process-loadenvfile)
- [Deno sandbox bypass via missing post-DNS check in WebSocket API](https://junglewise.ai/threats/cve-2026-49860-deno-sandbox-bypass-via-missing-post-dns-check-in-websocket-api)
- [Deno network restriction bypass in fetch API](https://junglewise.ai/threats/cve-2026-49859-deno-network-restriction-bypass-in-fetch-api)
- [Deno missing cryptographic rounds in node:crypto checkPrime](https://junglewise.ai/threats/cve-2026-49440-deno-missing-cryptographic-rounds-in-node-crypto-checkprime)
