HTTP Request Smuggling Affecting apache/brpc package, versions [0.9.5,1.8.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (65th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-APACHEBRPC-6234014
  • published8 Feb 2024
  • disclosed8 Feb 2024
  • creditPingtao Wei, Ziyang Chen, Haoran Zhi, Hongpei Li

Introduced: 8 Feb 2024

CVE-2024-23452  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade apache/brpc to version 1.8.0 or higher.

Overview

Affected versions of this package are vulnerable to HTTP Request Smuggling due to the http_parser not complying with the RFC-7230 HTTP 1.1 specification. An attacker can smuggle a request into the connection to the backend server by sending a message with both a Transfer-Encoding and a Content-Length header field, indicating an attempt to perform request smuggling or response splitting.

Note:

This is particularly exploitable when a server on the backend, made with bRPC, receives requests in one persistent connection from a frontend server that uses TE to parse requests with the logic that 'chunk' is contained in the TE field.

CVSS Base Scores

version 3.1