PT-2024-1633 · Apache · Apache Brpc

Haoran Zhi

+3

·

Published

2024-01-17

·

Updated

2024-02-15

·

CVE-2024-23452

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:C/A:N
Name of the Vulnerable Software and Affected Versions Apache bRPC versions 0.9.5 through 1.7.0
Description The issue arises from the http parser not complying with the RFC-7230 HTTP 1.1 specification, specifically when handling messages with both Transfer-Encoding and Content-Length header fields. This can lead to request smuggling or response splitting attacks. In a scenario where a bRPC-made HTTP server on the backend receives requests in a persistent connection from a frontend server that uses Transfer-Encoding to parse requests, an attacker can smuggle a request into the connection to the backend server.
Recommendations For Apache bRPC versions 0.9.5 through 1.7.0, upgrade to version 1.8.0, which fixes this issue. As a temporary workaround, consider applying the patch available at https://github.com/apache/brpc/pull/2518 to mitigate the risk of exploitation.

Fix

HTTP Request/Response Smuggling

Weakness Enumeration

Related Identifiers

BDU:2024-01303
CVE-2024-23452

Affected Products

Apache Brpc