{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-26103","id":"CVE-2023-26103","title":"Regular Expression Denial of Service in Deno.upgradeWebSocket API","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","descriptionLong":"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","published":"2023-02-25T05:00:01.387Z","updated":"2026-10-28T02:31:06.737470980Z","reserved":"2023-02-20T10:28:48.921Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"snyk"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"snyk.io"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["deno"],"affectedProducts":[{"vendor":"n/a","product":"deno","defaultStatus":null,"versions":[{"version":"0","lessThan":"1.31.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"deno","purl":"pkg:cargo/deno","ranges":[">=1.12.0 <1.31.0"],"fixed":["1.31.0"],"advisory":"GHSA-jc97-h3h9-7xh6"}],"cwes":["CWE-1333"],"aliases":["GHSA-jc97-h3h9-7xh6"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-RUST-DENO-3315970","tags":["x_transferred","Exploit","Technical Description","Third Party Advisory","web"]},{"url":"https://github.com/denoland/deno/blob/2b247be517d789a37e532849e2e40b724af0918f/ext/http/01_http.js%23L395-L409","tags":["x_transferred","Broken Link","web"]},{"url":"https://github.com/denoland/deno/pull/17722","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/denoland/deno/commit/cf06a7c7e672880e1b38598fe445e2c50b4a9d06","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/denoland/deno/releases/tag/v1.31.0","tags":["x_transferred","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26103.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26103","tags":["advisory"]},{"url":"https://github.com/denoland/deno/security/advisories/GHSA-jc97-h3h9-7xh6","tags":["web"]},{"url":"https://github.com/denoland/deno","tags":["package"]},{"url":"https://github.com/denoland/deno/blob/2b247be517d789a37e532849e2e40b724af0918f/ext/http/01_http.js#L395-L409","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.01229,"epssPercentile":0.69539,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-26103","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26103","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-26103","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-jc97-h3h9-7xh6","ok":true,"note":"GHSA-jc97-h3h9-7xh6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-26103","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}