Description
cpp-httplib version v0.17.3 through v0.18.3 fails to filter CRLF characters ("\r\n") when those are prefixed with a null byte. This enables attackers to exploit CRLF injection that could further lead to HTTP Response Splitting, XSS, and more.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | cpp-httplib | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cpp-httplib | 0.18.7-1 | — |
| Debian 13 | cpp-httplib | 0.18.7-1 | — |
| Debian 12 | cpp-httplib | No fix yet | — |