Skip to main content
← All vulnerabilities
CVE-2023-23936GHSA-5R9G-QH6M-JXFFBIT-NODE-2023-23936BIT-NODE-MIN-2023-23936

CRLF Injection in Nodejs ‘undici’ via host

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

Summary

Undici is an HTTP/1.1 client for Node.js. Starting with version 2.0.0 and prior to version 5.19.1, the undici library does not protect `host` HTTP header from CRLF injection vulnerabilities. This issue is patched in Undici v5.19.1. As a workaround, sanitize the `headers.host` string before passing to undici.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • nodejs undici

    From 2.0.0 · fixed in 5.19.1

  • undicinpm

    From 2.0.0 · fixed in 5.19.1

References 4

GitHub · nodejs/undici

hackerone.com