{"id":"CVE-2023-26103","published":"2023-02-25T05:00:01Z","modified":"2025-03-11T15:31:01Z","title":"Versions of the package deno before 1.31.0 are vulnerable to Regular Expression Denial of Service (ReDoS) due to the…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.\r\r","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01229,"percentile":0.69635,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-RUST-DENO-3315970","tags":[]},{"url":"https://github.com/denoland/deno/blob/2b247be517d789a37e532849e2e40b724af0918f/ext/http/01_http.js%23L395-L409","tags":[]},{"url":"https://github.com/denoland/deno/pull/17722","tags":[]},{"url":"https://github.com/denoland/deno/commit/cf06a7c7e672880e1b38598fe445e2c50b4a9d06","tags":[]},{"url":"https://github.com/denoland/deno/releases/tag/v1.31.0","tags":[]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":13.93},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"deno","versions":["< 1.31.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-11T15:30:55.306498Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"deno","vulnerableRanges":[">=1.12.0, <1.31.0"],"patched":["1.31.0"],"from":["GHSA-jc97-h3h9-7xh6"],"provenance":"source"}],"summary":{"text":"The flaw is a Regular Expression Denial of Service (ReDoS) issue in the upgradeWebSocket function of the deno package, affecting versions before 1.31.0, where a regex used to split the Connection/Upgrade header is inefficient. An attacker who can send network requests with a specially crafted Connection/Upgrade header, without authentication or user interaction, can significantly slow down a web socket server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:55:01Z"},"euvd":{"id":"EUVD-2023-1335","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-41641","published":"2022-06-12","fixed":"1.16.0","kev":false},{"cve":"CVE-2022-24783","published":"2022-03-25","fixed":"1.20.3","kev":false},{"cve":"CVE-2023-22499","published":"2023-01-17","fixed":"1.29.3","kev":false,"link":{"from":"CVE-2023-22499","to":"CVE-2023-26103","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deno","fromFixed":"1.29.3","toFixed":"1.31.0","daysApart":39}]}},{"cve":"CVE-2023-26103","published":"2023-02-25","fixed":"1.31.0","kev":false},{"cve":"CVE-2023-28446","published":"2023-03-24","fixed":"1.31.2","kev":false,"link":{"from":"CVE-2023-26103","to":"CVE-2023-28446","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deno","fromFixed":"1.31.0","toFixed":"1.31.2","daysApart":27}]}},{"cve":"CVE-2023-33966","published":"2023-05-31","fixed":"1.34.1","kev":false},{"cve":"CVE-2024-27935","published":"2024-03-06","fixed":"1.36.3","kev":false}],"package":"crates.io:deno"}}