Skip to main content
← All vulnerabilities
CVE-2023-24807GHSA-R6CH-MQF9-QC9W

Undici vulnerable to Regular Expression Denial of Service in Headers

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.19.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • nodejs undici

    fixed in 5.19.1

  • undicinpm

    fixed in 5.19.1

References 4

GitHub · nodejs/undici

hackerone.com