CVE-2023-24807

Undici vulnerable to Regular Expression Denial of Service in Headers

Published Feb 16, 2023 CVSS 3.1 · 7.5 High EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0786 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.
Github GHSA Github GHSA GHSA-r6ch-mqf9-qc9w Regular Expression Denial of Service in Headers
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00248}

epss

{'score': 0.00254}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 10, 2025, 9:10 PM
Reserved
Jan 30, 2023, 2:43 PM
Status
Modified
Published
Feb 16, 2023, 6:15 PM
Modified
Jun 17, 2026, 5:39 AM
Severity
Low
Public date
Feb 16, 2023, 12:00 AM