kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-77341 cpp-httplib: CRLF injection via unvalidated HTTP trailer headers in chunked response writing

설명

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.

영향 받는 제품 제품 1개

  • yhirose

    cpp-httplib

    해결 버전 있음

    영향 받는 버전

    • 0.49.0 이상 0.50.0 미만

    해결 버전

    • 0.50.0 이상

참고 자료 2건

‹ 목록

점검 지원 범위 문의

도입 문의