HTTP response splitting in Cpp-httplib - CVE-2023-26130
Published: August 21, 2023
Vulnerability details
The vulnerability allows a remote attacker to perform HTTP splitting attacks.
The vulnerability exists due to software does not correclty process CRLF character sequences passed via the Content-Type HTTP header in Patch, Post, Put and Delete requests. A remote attacker can send specially crafted request containing CRLF sequence and make the application to send a split HTTP response.
Successful exploitation of the vulnerability may allow an attacker perform cache poisoning attack.
Affected software
Fedora
openEuler
cpp-httplib
et
How to mitigate CVE-2023-26130
cpp-httplib - update to 0.12.4-1
cpp-httplib - addressed in versions 0.12.5-1.fc38, 0.12.5-2.el9
et - addressed in versions 6.2.1-15.fc38, 6.2.1-15.fc39, 6.2.1-15.fc40, 6.2.8-1.el9, 6.2.8-1.fc38, 6.2.8-1.fc39, 6.2.8-1.fc40, 6.2.8-2.el8
External 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
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JY2E7EIRWQMKH6GY4OZOWWBZBY3Q7CGS/
Related Security Bulletins
- HTTP response splitting in cpp-httplib
- Fedora 38 update for cpp-httplib
- Fedora EPEL 9 update for cpp-httplib
- openEuler 22.03 LTS SP1 update for cpp-httplib
- openEuler 22.03 LTS update for cpp-httplib
- Fedora 40 update for et
- Fedora 39 update for et
- Fedora 38 update for et
- Fedora 39 update for et
- Fedora 40 update for et
- Fedora EPEL 9 update for et
- Fedora 38 update for et
- Fedora EPEL 8 update for et