Vulnerability in Deno

CVE-2023-26103

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.

Vulnerability class: ReDoS (Regular Expression Denial of Service)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

EPSS exploit prediction

EPSS 0.012, 69.4th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Deno
  • Deno — versions 0

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (dellalibera/dellalibera, leoambrus/artefactswithoutCVEonGitHubAdvisoryDatabase). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References