{"id":"CVE-2023-26103","state":"PUBLISHED","title":"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 o","description":"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","publishedAt":"2023-02-25T05:00:01.387Z","updatedAt":"2025-03-11T15:31:01.247Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"snyk"},"assigner":"snyk","products":["n/a deno"],"affected":[{"vendor":"n/a","product":"deno","versions":[{"version":"0","status":"affected","lessThan":"1.31.0","versionType":"semver"}]}],"references":["https://security.snyk.io/vuln/SNYK-RUST-DENO-3315970","https://github.com/denoland/deno/blob/2b247be517d789a37e532849e2e40b724af0918f/ext/http/01_http.js%23L395-L409","https://github.com/denoland/deno/pull/17722","https://github.com/denoland/deno/commit/cf06a7c7e672880e1b38598fe445e2c50b4a9d06","https://github.com/denoland/deno/releases/tag/v1.31.0"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/26xxx/CVE-2023-26103.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-26103","state":"PUBLISHED","datePublished":"2023-02-25T05:00:01.387Z","dateUpdated":"2025-03-11T15:31:01.247Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2023-02-20T10:28:48.921Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"n/a","product":"deno","versions":[{"version":"0","status":"affected","lessThan":"1.31.0","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-RUST-DENO-3315970"},{"url":"https://github.com/denoland/deno/blob/2b247be517d789a37e532849e2e40b724af0918f/ext/http/01_http.js%23L395-L409"},{"url":"https://github.com/denoland/deno/pull/17722"},{"url":"https://github.com/denoland/deno/commit/cf06a7c7e672880e1b38598fe445e2c50b4a9d06"},{"url":"https://github.com/denoland/deno/releases/tag/v1.31.0"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","description":"Regular Expression Denial of Service (ReDoS)","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2023-02-25T05:00:01.387Z"},"credits":[{"value":"Alessio Della Libera","lang":"en"},{"value":"Snyk","lang":"en"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-RUST-DENO-3315970","tags":["x_transferred"]},{"url":"https://github.com/denoland/deno/blob/2b247be517d789a37e532849e2e40b724af0918f/ext/http/01_http.js%23L395-L409","tags":["x_transferred"]},{"url":"https://github.com/denoland/deno/pull/17722","tags":["x_transferred"]},{"url":"https://github.com/denoland/deno/commit/cf06a7c7e672880e1b38598fe445e2c50b4a9d06","tags":["x_transferred"]},{"url":"https://github.com/denoland/deno/releases/tag/v1.31.0","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T11:39:06.569Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-11T15:30:55.306498Z","id":"CVE-2023-26103","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","type":"CWE","lang":"en","description":"CWE-1333 Inefficient Regular Expression Complexity"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-11T15:31:01.247Z"}}]}}}