CVE-2026-103930
Beschrijving NL
cpp-httplib is een C++ header-only HTTP/HTTPS-bibliotheek. Van 0.29.0 tot 0.51.0 accepteert Client::open_stream inЗplib.h een door de beller gecontroleerd pad dat detail bereikt::write_request_line() zonder de detail::encode_path() -beveiliging die wordt gebruikt door het gewone gebufferde aanvraagpad. Ruwe carriage-return en line-feed bytes in het pad kunnen daarom de uitgaande HTTP/1.1-verzoekregel splitsen en aanvaller-vormige verzoekmetadata injecteren. Exploitatie vereist een inbeddingstoepassing om externe gebruikersinvoer door te geven aan het open_stream-pad en een backend of intermediair die de geïnjecteerde bytes interpreteert; de vastgestelde impact is wijziging van backend-zichtbare aanvraaggegevens, geen directe impact op vertrouwelijkheid of beschikbaarheid. Dit probleem is opgelost in versie 0.51.0.
Origineel (Engels) tonen
cpp-httplib is a C++ header-only HTTP/HTTPS library. From 0.29.0 until 0.51.0, Client::open_stream in httplib.h accepts a caller-controlled path that reaches detail::write_request_line() without the detail::encode_path() protection used by the ordinary buffered request path. Raw carriage-return and line-feed bytes in the path can therefore split the outbound HTTP/1.1 request line and inject attacker-shaped request metadata. Exploitation requires an embedding application to pass remote user input into the open_stream path and a backend or intermediary that interprets the injected bytes; the established impact is modification of backend-visible request data, not direct confidentiality or availability impact. This issue is fixed in version 0.51.0.