Vulnerabilities · 2024 · Deno
CVE-2024-27936
Deno vulnerability
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.
Affected products
Deno, Deno Runtime. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Deno runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/denoland/deno/security/advisories/GHSA-m4pq-fv2w-6hrw · Exploit
- github.com/denoland/deno/commit/78d430103a8f6931154ddbbe19d36f3b8630286d · Patch
- github.com/denoland/deno/commit/7e6b94231290020b55f1d08fb03ea8132781abc5 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-27936
- github.com/advisories/GHSA-m4pq-fv2w-6hrw
- nvd.nist.gov/vuln/detail/CVE-2024-27936
- cve.org/CVERecord?id=CVE-2024-27936
More vulnerabilities in Deno products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.