CVE-2023-26103 Regular Expression Denial of Service in Deno.upgradeWebSocket API
HighCVSS 7.5
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io deno(crates.io) | >= 1.12.0, < 1.31.0 | 1.31.0 | Fixed |
| deno | < 1.31.0 | 1.31.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io deno(crates.io) | >= 1.12.0, < 1.31.0 | 1.31.0 |
| deno | < 1.31.0 | 1.31.0 |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com
- github.com release-notes
- security.snyk.io exploit technical-description third-party-advisory
- github.com
- github.com product
- github.com broken-link