Skip to content
OpenAdvisories
High · 7.5 CVE-2023-26130 EUVD-2023-29977GHSA-599g-p68q-2rxv

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 con…

Published May 30, 2023 · Updated Feb 13, 2025 · Assigned by snyk

Description

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](https://security.snyk.io/vuln/SNYK-UNMANAGED-YHIROSECPPHTTPLIB-2366507).

Affected products

VendorProductAffectedFixed
— yhirose/cpp-httplib < 0.12.4 0.12.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cpp-httplib 0.11.4+ds-2 —
Debian 13 cpp-httplib 0.11.4+ds-2 —
Debian 12 cpp-httplib 0.11.4+ds-1+deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS cpp-httplib No fix yet —

References