> CVE-2025-66577 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2025-12-05 19:15
MODIFIED
2025-12-05 19:15
CVSS_SCORE V3
5.3
EPSS (Prob. Exploit)
0.27%
Top 81.2%
DATA SOURCES:
NVD 🔗 2025-12-05 CVE PROJECT 🔗 2026-01-19 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 OSV 🔗 2026-03-01

> DESCRIPTION

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 supply X-Forwarded-For or X-Real-IP headers which get accepted unconditionally by get_client_ip() in docker/main.cc, causing access and error logs (nginx_access_logger / nginx_error_logger) to record spoofed client IPs (log poisoning / audit evasion). This vulnerability is fixed in 0.27.0.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EXPLOITABILITY
3.9
IMPACT
1.4

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-117 CWE-807

> CWE DETAILED DESCRIPTIONS

CWE-117: Improper Output Neutralization for Logs - The product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is written to a log file. | CWE-807: Reliance on Untrusted Inputs in a Security Decision - The product uses a protection mechanism that relies on the existence or values of an input, but the input can be modified by an untrusted actor in a way that bypasses the protection mechanism.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

cpp-httplib Untrusted HTTP Header Handling: X-Forwarded-For/X-Real-IP Trust

AFFECTED PACKAGES:
Unknown / Unknown
136 versions affected
ALIASES:
GHSA-gfpf-r66f-5mh2

> HISTORIQUE DES MODIFICATIONS

Première apparition
05/12/2025 19:15
Source: NVD
📊 ENRICHISSEMENT 19/01/2026 17:37
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
📊 ENRICHISSEMENT 01/01/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-117: Improper Output Neutralization for Logs - The product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is ...
Total des modifications: 2 Dernière mise à jour: 9 months ago

> REFERENCES

https://github.com/yhirose/cpp-httplib/commit/ac9ebb0ee333ce8bf13523f487bdfad951...
https://github.com/yhirose/cpp-httplib/security/advisories/GHSA-gfpf-r66f-5mh2
« BACK_TO_HOME