Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-24807

Node.js: Regular Expression Denial of Service in Headers fetch API

Overview

Published
16 Feb 2023
Modified
17 Jun 2026
High CVE
1 Registry packages
25 OS packages
10 Linux distributions
Yes Fix available

Description

Undici is an HTTP/1.1 client for Node.js. Prior to version 5.19.1, the Headers.set() and Headers.append() methods are vulnerable to Regular Expression Denial of Service (ReDoS) attacks when untrusted values are passed into the functions. This is due to the inefficient regular expression used to normalize the values in the headerValueNormalize() utility function. This vulnerability was patched in v5.19.1. No known workarounds are available.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-20, CWE-1333

Affected packages · 1

Packages affected by CVE-2023-24807
EcosystemPackageVulnerableFixed in
npm undici <5.19.1 5.19.1

Open a package to see all its vulnerabilities.

Operating systems · 68 fixes

Oracle Linux 2 releases · 5 packages

fixed 9
nodejs npm nodejs-nodemon nodejs-packaging nodejs-libs
Oracle Linux fixes for CVE-2023-24807
ReleasePackageFixed in
8 nodejs +3 1:18.14.2-2.module+el8.7.0+21020+b7aeeb08
8 npm 1:9.5.0-1.18.14.2.2.module+el8.7.0+21020+b7aeeb08
8 nodejs-nodemon 2.0.20-3.module+el8.7.0+21021+1eb7f63d
8 nodejs-packaging +1 2021.06-4.module+el8.7.0+20766+0a247725
9 nodejs-libs 1:16.19.1-1.el9_2
9 nodejs +3 1:18.14.2-2.module+el9.2.0+21038+115df6a2

3 more rows

Red Hat 4 releases · 4 packages

fixed 17
nodejs-nodemon nodejs-packaging nodejs npm
Red Hat fixes for CVE-2023-24807
ReleasePackageFixed inAdvisory
8 (nodejs:16) nodejs-nodemon 0:2.0.20-3.module+el8.7.0+18373+704f5cef RHSA-2023:1582
8 (nodejs:16) nodejs-packaging 0:25-1.module+el8.5.0+10992+fac5fe06 RHSA-2023:1582
8 (nodejs:16) nodejs +3 1:16.19.1-1.module+el8.7.0+18373+704f5cef RHSA-2023:1582
8 (nodejs:16) npm 1:8.19.3-1.16.19.1.1.module+el8.7.0+18373+704f5cef RHSA-2023:1582
8 (nodejs:18) nodejs-nodemon 0:2.0.20-2.module+el8.7.0+18445+9493b6ea RHSA-2023:1583
8 (nodejs:18) nodejs-packaging +1 0:2021.06-4.module+el8.7.0+15582+19c314fa RHSA-2023:1583

11 more rows

SUSE Linux Enterprise 1 release · 2 packages

fixed 2
nodejs16 nodejs18
SUSE Linux Enterprise fixes for CVE-2023-24807
ReleasePackageFixed inAdvisory
15.4 nodejs16 +3 16.19.1-150400.3.15.1 SUSE-SU-2023:0608-1
15.4 nodejs18 +3 18.14.2-150400.9.6.2 SUSE-SU-2023:0738-1

alma 4 releases · 4 packages

fixed 14
nodejs npm nodejs-nodemon nodejs-packaging
alma fixes for CVE-2023-24807
ReleasePackageFixed in
8 (nodejs:16) nodejs +3 1:16.19.1-1.module_el8.7.0+3496+a59a3324
8 (nodejs:16) npm 1:8.19.3-1.16.19.1.1.module_el8.7.0+3496+a59a3324
8 (nodejs:16) nodejs-nodemon 2.0.20-3.module_el8.7.0+3496+a59a3324
8 (nodejs:16) nodejs-packaging 25-1.module_el8.5.0+2605+45d748af
8 (nodejs:18) nodejs +3 1:18.14.2-2.module_el8.7.0+3497+c65299e7
8 (nodejs:18) npm 1:9.5.0-1.18.14.2.2.module_el8.7.0+3497+c65299e7

8 more rows

alpine 4 releases · 1 package

fixed 4
nodejs
alpine fixes for CVE-2023-24807
ReleasePackageFixed in
3.22 nodejs 18.14.1-r0
3.23 nodejs 18.14.1-r0
3.24 nodejs 18.14.1-r0
edge nodejs 18.14.1-r0

debian 3 releases · 1 package

fixed 3
node-undici
debian fixes for CVE-2023-24807
ReleasePackageFixed in
12 node-undici 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1
13 node-undici 5.19.1+dfsg1+~cs20.10.9.5-1
14 node-undici 5.19.1+dfsg1+~cs20.10.9.5-1

echo 1 release · 1 package

fixed 1
node-undici
echo fixes for CVE-2023-24807
ReleasePackageFixed in
node-undici 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1

openSUSE 1 release · 2 packages

fixed 2
corepack18 corepack19
openSUSE fixes for CVE-2023-24807
ReleasePackageFixed inAdvisory
Tumbleweed corepack18 +4 18.14.2-1.1 openSUSE-SU-2024:12725-1
Tumbleweed corepack19 +4 19.7.0-1.1 openSUSE-SU-2024:12726-1

rocky 4 releases · 4 packages

fixed 15
nodejs npm nodejs-nodemon nodejs-packaging
rocky fixes for CVE-2023-24807
ReleasePackageFixed in
8 (nodejs:16) nodejs +3 1:16.19.1-1.module+el8.7.0+1178+d52dba78
8 (nodejs:16) npm 1:8.19.3-1.16.19.1.1.module+el8.7.0+1178+d52dba78
8 (nodejs:16) nodejs-nodemon 2.0.20-3.module+el8.7.0+1178+d52dba78
8 (nodejs:16) nodejs-packaging 25-1.module+el8.6.0+1046+80feca58
8 (nodejs:18) nodejs +3 1:18.14.2-2.module+el8.7.0+1177+510ae886
8 (nodejs:18) npm 1:9.5.0-1.18.14.2.2.module+el8.7.0+1177+510ae886

9 more rows

root.io debian 1 release · 1 package

fixed 1
rootio-node-undici
root.io debian fixes for CVE-2023-24807
ReleasePackageFixed in
12 rootio-node-undici 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1

References

Show all 35 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.