Vulnerability record · OpenEuler 24.03-LTS-SP1
An update for cpp-httplib is now available for openEuler-24.03-LTS-SP1
OpenEuler 24.03-LTS-SP1
What it fixes
Synopsis:
cpp-httplib security updateSummary:
An update for cpp-httplib is now available for openEuler-24.03-LTS-SP1Description:
A C++11 single-file header-only cross platform HTTP/HTTPS library. It's extremely easy to setup. Just include httplib.h file in your code!
cpp-httplib is a C++ header-only HTTP/HTTPS library. In version 0.49.0, the chunked-response trailer output path writes trailer header names and values directly to the socket without validating them, allowing CRLF sequences in a trailer field to inject additional headers or split the HTTP response. Unlike every other header-writing path in the library, the trailer-writing code applies none of the field-name and field-value checks that reject carriage return and line feed, so an application that places attacker-influenced data into a chunked response trailer emits attacker-controlled CRLF onto the wire. This enables HTTP response splitting, letting an attacker forge response headers or inject a second response. This issue is fixed in version 0.50.0.(CVE-2026-77341)Topic:
An update for cpp-httplib is now available for master/openEuler-22.03-LTS-SP4/openEuler-24.03-LTS-Next/openEuler-24.03-LTS-SP1/openEuler-24.03-LTS-SP3/openEuler-24.03-LTS-SP4.
openEuler Security has rated this update as having a security impact of medium. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
MediumAffected Component:
cpp-httplib
Manual fix · OpenEuler 24.03-LTS-SP1
sudo dnf upgrade cpp-httplib cpp-httplib-develrpm -q cpp-httplib cpp-httplib-develSources