cpp-httplib is a C++11 single-file header-only cross platform HTTP/HTTPS library. Prior to 0.27.0, a vulnerability allows attacker-controlled HTTP headers to influence server-visible metadata, logging, and authorization decisions. An attacker can inject headers named REMOTE_ADDR, REMOTE_PORT, LOCAL_ADDR, LOCAL_PORT that are parsed into the request header multimap via read_headers() in httplib.h (headers.emplace), then the server later appends its own internal metadata using the same header names in Server::process_request without erasing duplicates. Because Request::get_header_value returns the first entry for a header key (id == 0) and the client-supplied headers are parsed before server-inserted headers, downstream code that uses these header names may inadvertently use attacker-controlled values. Affected files/locations: cpp-httplib/httplib.h (read_headers, Server::process_request, Request::get_header_value, get_header_value_u64) and cpp-httplib/docker/main.cc (get_client_ip, nginx_access_logger, nginx_error_logger). Attack surface: attacker-controlled HTTP headers in incoming requests flow into the Request.headers multimap and into logging code that reads forwarded headers, enabling IP spoofing, log poisoning, and authorization bypass via header shadowing. This vulnerability is fixed in 0.27.0.
総合評価: CVE-2025-66570 は悪用リスクが高い(62.8/100)。CVSS 深刻度は重大。悪用される可能性が高い(EPSS 0.30%、22 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.04% | 0.30% | +0.27% |
| 2 | 2026-05-03 | 0.05% | 0.04% | -0.01% |
| 3 | 2026-04-06 | — | 0.05% | — |
EPSS の全履歴 (全 4 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 10.0 | 3.1 | CRITICAL |
|
3.9 | 5.8 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-66570 not yet assigned priority: Debian including 1 source packages (cpp-httplib), 4 status rows across 4 suites (bookworm, forky, sid, trixie): open 2, resolved 2. | https://security-tracker.debian.org/tracker/CVE-2025-66570 |
suse
|
critical | CVE-2025-66570 severity critical: SUSE including 15 source package names (cpp-httplib-devel-0.22.0-160000.3.1, cpp-httplib-devel-0.28.0-1.1, …), 161 product×package rows across 18 product lines (Image SL-Micro, Image SL-Micro-Base, … (18 product lines)): Fixed 160, First Fixed 1. | https://www.suse.com/security/cve/CVE-2025-66570/ |
ubuntu
|
high | CVE-2025-66570 high priority: Ubuntu including 1 source packages (cpp-httplib), 5 status rows across 5 suites (jammy, noble, plucky, questing, upstream): released 5. | https://ubuntu.com/security/CVE-2025-66570 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| yhirose | cpp-httplib | < 0.27.0 | cpe:2.3:a:yhirose:cpp-httplib:*:*:*:*:*:*:*:* |