Skip to content

CVE-2023-26130 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....

HighCVSS 8.8 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

7 packages: 5 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/cpp-httplib(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/cpp-httplib(Ubuntu Pro 22.04) = 0.9.9+ds-1; = 0.9.10+ds-1; = 0.10.1+ds-1; = 0.10.2+ds-1 +4 more No fix listed No fix yet
cpp-httplib project cpp-httplib < 0.12.4 0.12.4 Fixed
debian/cpp-httplib(Debian 12) < 0.11.4+ds-1+deb12u1; = 0.11.4+ds-1 0.11.4+ds-1+deb12u1 Fixed
debian/cpp-httplib(Debian 13) < 0.11.4+ds-2 0.11.4+ds-2 Fixed
debian/cpp-httplib(Debian 14) < 0.11.4+ds-2 0.11.4+ds-2 Fixed
yhirose cpp-httplib < 0.12.4 0.12.4 Fixed

Affected products

ProductAffected versionsFixed in
debian/cpp-httplib(Debian:12) < 0.11.4+ds-1+deb12u1 0.11.4+ds-1+deb12u1
debian/cpp-httplib(Debian:12) = 0.11.4+ds-1 No fix listed
debian/cpp-httplib(Debian:13) < 0.11.4+ds-2 0.11.4+ds-2
debian/cpp-httplib(Debian:14) < 0.11.4+ds-2 0.11.4+ds-2
yhirose cpp-httplib < 0.12.4 0.12.4
ubuntu/cpp-httplib(Ubuntu:22.04) All versions No fix listed
cpp-httplib project cpp-httplib < 0.12.4 0.12.4
ubuntu/cpp-httplib(Ubuntu:Pro:22.04) All versions No fix listed
ubuntu/cpp-httplib(Ubuntu:Pro:22.04) = 0.9.9+ds-1 No fix listed
ubuntu/cpp-httplib(Ubuntu:Pro:22.04) = 0.9.10+ds-1 No fix listed
ubuntu/cpp-httplib(Ubuntu:Pro:22.04) = 0.10.1+ds-1 No fix listed
ubuntu/cpp-httplib(Ubuntu:Pro:22.04) = 0.10.2+ds-1 No fix listed
ubuntu/cpp-httplib(Ubuntu:Pro:22.04) = 0.10.3+ds-1 No fix listed
ubuntu/cpp-httplib(Ubuntu:Pro:22.04) = 0.10.3+ds-1ubuntu0.1~esm1 No fix listed
ubuntu/cpp-httplib(Ubuntu:Pro:22.04) = 0.10.3+ds-1ubuntu0.1~esm2 No fix listed

References