Skip to main content
← All vulnerabilities
CVE-2022-31150GHSA-3CVR-822R-RQCC

CRLF injection in request headers

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

Summary

undici is an HTTP/1.1 client, written from scratch for Node.js. It is possible to inject CRLF sequences into request headers in undici in versions less than 5.7.1. A fix was released in version 5.8.0. Sanitizing all HTTP headers from untrusted sources to eliminate `\r\n` is a workaround for this issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • nodejs undici

    From v5.8.0 · fixed in v5.7.1

  • undicinpm

    fixed in 5.8.0

References 4

GitHub · nodejs/undici

hackerone.com

security.netapp.com