cpp-httplib 是一个纯头文件的 C++ HTTP/HTTPS 库。在 0.49.0 版本中,分块响应(chunked-response)的 trailer(尾随头)输出路径直接将 trailer 的字段名和字段值写入套接字,而未对其进行验证,使得 trailer 字段中的 CRLF 序列可用于注入额外头部或拆分 HTTP 响应。与库中其他所有头部写入路径不同,trailer 写入代码未应用任何针对字段名和字段值的检查(这些检查通常会拒绝回车符和换行符),因此,若应用程序将受攻击者控制的数据放入分块响应的
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| yhirose | cpp-httplib | >= 0.49.0, < 0.50.0 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| yhirose | cpp-httplib | >= 0.49.0, < 0.50.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet