logo

CVE-2023-26103 deno

Package

Manager: cargo
Name: deno
Vulnerable Version: >=1.12.0 <1.31.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00092 pctl0.26972

Details

Regular Expression Denial of Service in Deno.upgradeWebSocket API ### Impact 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. ### Patches It is recommended that users upgrade to Deno 1.31.0.

Metadata

Created: 2023-04-03T17:18:51Z
Modified: 2023-04-03T17:18:51Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-jc97-h3h9-7xh6/GHSA-jc97-h3h9-7xh6.json
CWE IDs: ["CWE-1333"]
Alternative ID: GHSA-jc97-h3h9-7xh6
Finding: F211
Auto approve: 1