CVE-2023-26142

Executive Summary

CVE-2023-26142 affects all versions of the crow package. Untrusted input in set_header and add_header is not sanitized, enabling CRLF injection. An attacker can terminate HTTP headers and inject arbitrary content, leading to response splitting, XSS, cache poisoning, or session hijacking. No KEV listing yet.


Authoritative CVE Metadata

  • CVSS Base Score: 6.5 (MEDIUM)
  • Last Modified: 29-10-26

Original Description

All versions of the package crow are vulnerable to HTTP Response Splitting when untrusted user input is used to build header values. Header values are not properly sanitized against CRLF Injection in the set_header and add_header functions. An attacker can add the \r\n (carriage return line feeds) characters to end the HTTP response headers and inject malicious content.