CVE Vulnerabilities

CVE-2023-26130

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: May 30, 2023 | Modified: Jul 03, 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 constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

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