Vulnerability Information
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.
Vulnerability Title
cpp-httplib: CRLF injection via unvalidated HTTP trailer headers in chunked response writing
Vulnerability Description
cpp-httplib is a C++ header-only HTTP/HTTPS library. In version 0.49.0, the chunked-response trailer output path writes trailer header names and values directly to the socket without validating them, allowing CRLF sequences in a trailer field to inject additional headers or split the HTTP response. Unlike every other header-writing path in the library, the trailer-writing code applies none of the field-name and field-value checks that reject carriage return and line feed, so an application that places attacker-influenced data into a chunked response trailer emits attacker-controlled CRLF onto the wire. This enables HTTP response splitting, letting an attacker forge response headers or inject a second response. This issue is fixed in version 0.50.0.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N
Vulnerability Type
对CRLF序列的转义处理不恰当(CRLF注入)
Vulnerability Title
yhirose cpp-httplib 输入验证错误漏洞
Vulnerability Description
yhirose cpp-httplib是yhirose个人开发者开源的一个C++实现的HTTP客户端与服务器开发框架。 yhirose cpp-httplib 0.49.0版本至0.50.0之前版本存在输入验证错误漏洞,该漏洞源于分块响应尾部输出路径未对尾部字段名和值进行验证,允许CRLF序列注入,可能导致HTTP响应拆分,攻击者能够伪造响应头或注入第二个响应。
CVSS Information
N/A
Vulnerability Type
N/A