Vulnerabilities · 2023 · Deno
CVE-2023-28446
Deno vulnerability
Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust. Arbitrary program names without any ANSI filtering allows any malicious program to clear the first 2 lines of a `op_spawn_child` or `op_kill` prompt and replace it with any desired text. This works with any command on the respective platform, giving the program the full ability to choose what program they wanted to run. This problem can not be exploited on systems that do not attach an interactive prompt (for example headless servers). This issue has been patched in version 1.31.2.
Affected products
Deno. 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/blob/7d13d65468c37022f003bb680dfbddd07ea72173/runtime/js/40_proce · Vendor Advisory
- github.com/denoland/deno/security/advisories/GHSA-vq67-rp93-65qf · Exploit
- github.com/denoland/deno/releases/tag/v1.31.2 · Patch
- nvd.nist.gov/vuln/detail/CVE-2023-28446
- cve.org/CVERecord?id=CVE-2023-28446
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.