Vulnerability in Deno
CVE-2023-26103
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.012, 69.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Deno
- Deno — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (dellalibera/dellalibera, leoambrus/artefactswithoutCVEonGitHubAdvisoryDatabase). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.snyk.io/vuln/SNYK-RUST-DENO-3315970 (Technical Description, Exploit, Third Party Advisory)
- github.com/denoland/deno/blob/2b247be517d789a37e532849e2e40b724af0918f/ext/http… (Broken Link)
- github.com/denoland/deno/pull/17722 (Patch)
- github.com/denoland/deno/commit/cf06a7c7e672880e1b38598fe445e2c50b4a9d06 (Patch)
- github.com/denoland/deno/releases/tag/v1.31.0 (Release Notes)