Bug 2211075 (CVE-2023-26130)

Summary: CVE-2023-26130 cpp-httplib: CRLF Injection
Product: [Other] Security Response Reporter: Mauro Matteo Cascella <mcascell>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: cpp-httplib 0.12.4 Doc Type: If docs needed, set a value
Doc Text:
cpp-httplib before 0.12.4 is 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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-30 17:42:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2211077, 2211078, 2211079    
Bug Blocks: 2211073    

Description Mauro Matteo Cascella 2023-05-30 12:49:51 UTC
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).

References:
https://gist.github.com/dellalibera/094aece17a86069a7d27f93c8aba2280
https://github.com/yhirose/cpp-httplib/releases/tag/v0.12.4
https://github.com/yhirose/cpp-httplib/commit/5b397d455d25a391ba346863830c1949627b4d08
https://security.snyk.io/vuln/SNYK-UNMANAGED-YHIROSECPPHTTPLIB-5591194

Comment 1 Mauro Matteo Cascella 2023-05-30 12:50:42 UTC
Created cpp-httplib tracking bugs for this issue:

Affects: fedora-all [bug 2211078]


Created et tracking bugs for this issue:

Affects: epel-all [bug 2211077]
Affects: fedora-all [bug 2211079]

Comment 2 Product Security DevOps Team 2023-05-30 17:42:23 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.