Vulnerabilities · 2023 · Deno
CVE-2023-26103
Deno vulnerability
Versions of the package deno before 1.31.0 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the upgradeWebSocket function, which contains regexes in the form of /s*,s*/, used for splitting the Connection/Upgrade header. A specially crafted Connection/Upgrade header can be used to significantly slow down a web socket server.
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/commit/cf06a7c7e672880e1b38598fe445e2c50b4a9d06 · Patch
- github.com/denoland/deno/pull/17722 · Patch
- security.snyk.io/vuln/SNYK-RUST-DENO-3315970 · Exploit
- github.com/denoland/deno/blob/2b247be517d789a37e532849e2e40b724af0918f/ext/http/01_http.js
- github.com/denoland/deno/releases/tag/v1.31.0
- nvd.nist.gov/vuln/detail/CVE-2023-26103
- cve.org/CVERecord?id=CVE-2023-26103
More vulnerabilities in Deno products
CVE-2026-22864CVE-2026-22863CVE-2025-61787CVE-2025-61786CVE-2025-61785CVE-2025-48935CVE-2025-48934CVE-2025-48888All 27
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.