PT-2024-3679
CVE-2024-32477
·
تاريخ النشر
2024-04-18
·
تاريخ التحديث
2025-09-04
الوصف من
CVSS 3.1
7.7
عاليةالمقاييسAV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Deno versions prior to 1.42.2
Description
The issue is caused by errors in synchronization when using a shared resource in the Deno runtime environment for JavaScript and TypeScript. Exploitation of this issue may allow an attacker to disclose protected information. By using ANSI escape sequences and a race between
libc::tcflush(0, libc::TCIFLUSH) and reading standard input, it's possible to manipulate the permission prompt and force it to allow an unsafe action regardless of the user input. Some ANSI escape sequences act as a info request to the master terminal emulator and the terminal emulator sends back the reply in the PTY channel. standard streams also use this channel to send and get data. For example the 033[6n sequence requests the current cursor position. These sequences allow appending data to the standard input of Deno. This allows an attacker to bypass Deno permission policy.Recommendations
For Deno versions prior to 1.42.2, update to version 1.42.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of ANSI escape sequences in the terminal emulator to minimize the risk of exploitation. Avoid using the
libc::tcflush(0, libc::TCIFLUSH) function in conjunction with reading standard input until the issue is resolved.قابلية الاستغلال
استغلال
إصلاح
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾