CVE-2023-24807CWE-20

Undici vulnerable to Regular Expression Denial of Service in Headers

High · published February 16, 2023

CVSS v3.1
7.5
EPSS
1%
Percentile
70.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01315 · 70.5th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2023-02-16T17:30Z
EPSS history
Timeline
  • 16 FEB 17:30Z
    Undici vulnerable to Regular Expression Denial of Service in Headers
    cvelistv5