Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 907934 (CVE-2023-26130)

Summary: <dev-cpp/cpp-httplib-0.12.4: clrf injection
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: alexey+gentoo, proxy-maint, xgqt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/yhirose/cpp-httplib/releases/tag/v0.12.4
Whiteboard: B4 [noglsa]
Package list:
Runtime testing required: ---

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-06-06 04:29:48 UTC
CVE-2023-26130 (https://gist.github.com/dellalibera/094aece17a86069a7d27f93c8aba2280)

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).

Patch: https://github.com/yhirose/cpp-httplib/commit/5b397d455d25a391ba346863830c1949627b4d08

Please stabilize 0.12.4.
Comment 1 Maciej Barć gentoo-dev 2023-08-23 19:48:54 UTC
0.12.6 is already stable.