CVE Vulnerabilities

CVE-2023-26130

Improper Neutralization of CRLF Sequences ('CRLF Injection')

Published: May 30, 2023 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 LOW
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Ubuntu
MEDIUM

Versions of the package yhirose/cpp-httplib before 0.12.4 are vulnerable to CRLF Injection when untrusted user input is used to set the content-type header in the HTTP .Patch, .Post, .Put and .Delete requests. This can lead to logical errors and other misbehaviors. Note: This issue is present due to an incomplete fix for CVE-2020-11709.

Weakness

The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.

Affected Software

Name Vendor Start Version End Version
Cpp-httplib Cpp-httplib_project * 0.12.4 (excluding)
Cpp-httplib Ubuntu esm-apps/jammy *
Cpp-httplib Ubuntu jammy *
Cpp-httplib Ubuntu kinetic *
Cpp-httplib Ubuntu lunar *
Cpp-httplib Ubuntu mantic *
Cpp-httplib Ubuntu upstream *

Potential Mitigations

References