Security mailing lists by PureSourceCode

CVE-2024-27936

MEDIUM 6.5CVSS 3.1

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

Deno is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults. Starting in version 1.32.1 and prior to version 1.41.0 of the deno library, maliciously crafted permission request can show the spoofed permission prompt by inserting a broken ANSI escape sequence into the request contents. Deno is stripping any ANSI escape sequences from the permission prompt, but permissions given to the program are based on the contents that contain the ANSI escape sequences. Any Deno program can spoof the content of the interactive permission prompt by inserting a broken ANSI code, which allows a malicious Deno program to display the wrong file path or program name to the user. Version 1.41.0 of the deno library contains a patch for the issue.

Published
21 Mar 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-150
Also known as
GHSA-m4pq-fv2w-6hrw
Sources
NVDJSONOSV GHSA-m4pq-fv2w-6hrwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD deno deno
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
>= 1.32.1, < 1.41.0 1.41.0
NVD deno deno_runtime
cpe:2.3:a:deno:deno_runtime:*:*:*:*:*:rust:*:*
>= 0.103.0, < 0.147.0 0.147.0
OSV crates.io deno >= 1.32.1, < 1.41.0 1.41.0
OSV crates.io deno_runtime >= 0.103.0, < 0.147.0 0.147.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 21 Mar 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.