CVE-2023-26142
MediumCVSS 6.5Exploitation Probability (EPSS)
Low risk47th percentile - higher than 47% of all known CVEs
Summary
All versions of the crow package are vulnerable to HTTP Response Splitting when untrusted user input is used to build header values. The set_header and add_header functions do not properly sanitize header values against CRLF injection, allowing an attacker to add \r\n characters and inject malicious content.
Risk Assessment
An attacker could inject additional headers or response content, potentially leading to cache poisoning, cross-site scripting, or response spoofing.
Recommendation
Update the crow package to a patched version or enforce validation and sanitization of input used in HTTP headers.
Other vulnerabilities in crow
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

