CVE-2024-27936
Publiée le 2024-03-21 · Dernière modification le 2026-06-17
Les environnements d'exécution Deno (versions 1.32.1 à 1.40.x) sont vulnérables à une attaque par usurpation d'interface utilisateur (UI spoofing), permettant à un programme de vous tromper pour vous inciter à accorder des permissions dangereuses. En utilisant des séquences d'échappement ANSI malformées, un script malveillant peut afficher un chemin de fichier factice et inoffensif dans la demande d'autorisation, tout en accédant en réalité à un fichier sensible. Cela nécessite l'exécution d'un programme Deno malveillant et l'approbation manuelle de la demande trompeuse, mais ne requiert aucun privilège spécial ni authentification préalable pour être exécuté.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
Description officielle du NVD (en anglais)
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.