SB2026042459 - openEuler 24.03 LTS SP1 update for cpp-httplib



SB2026042459 - openEuler 24.03 LTS SP1 update for cpp-httplib

Published: April 24, 2026

Security Bulletin ID SB2026042459
CSH Severity
High
Patch available
YES
Number of vulnerabilities 2
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

High 50% Medium 50%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 2 vulnerabilities.


1) Input validation error (CVE-ID: CVE-2026-31870)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green


The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to improper input validation in ClientImpl::open_stream() when parsing the Content-Length response header in the streaming API. A remote attacker can send a specially crafted HTTP response with a malformed Content-Length header to cause a denial of service.

Only the streaming API paths that call open_stream() are affected; the regular non-streaming request path is not affected.


2) Improper Certificate Validation (CVE-ID: CVE-2026-32627)

CWE-ID: CWE-295 - Improper Certificate Validation

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber


The vulnerability allows a remote attacker to intercept HTTPS connections and disclose sensitive information.

The vulnerability exists due to improper certificate validation in ClientImpl::create_redirect_client() in httplib.h when following an HTTPS redirect through a configured proxy. A remote attacker can return a crafted redirect response and present a forged or self-signed certificate to intercept HTTPS connections and disclose sensitive information.

Only builds with SSL support are affected, and exploitation requires the client to have a proxy configured with redirect following enabled.


Remediation

Install update from vendor's website.