CVE-2025-60021
nicheUnauthenticated command injection in Apache bRPC heap profiler service
Apache bRPC versions prior to 1.15.0 contain a remote command injection flaw (CWE-77) in the built-in heap profiler service at the /pprof/heap endpoint. When the heap profiler service is used to perform jemalloc memory profiling, the user-supplied extra_options parameter is inserted into a command line without validation, allowing a remote, unauthenticated attacker to inject and run arbitrary operating-system commands. Successful exploitation yields remote code execution with the privileges of the bRPC process, with high impact on confidentiality, integrity, and availability (CVSS 3.1 9.8, network vector, no privileges or user interaction required). Only deployments running an affected version that expose the built-in heap profiler service and use it for jemalloc profiling are affected; all platforms are impacted. No public proof-of-concept, in-the-wild exploitation, or KEV listing is known, but EPSS assigns a 24.8% probability of exploitation within 30 days (98th percentile), so defenders should treat exploitation as reasonably likely.
What to do: Upgrade Apache bRPC to version 1.15.0, or manually apply the upstream patch from GitHub pull request apache/brpc#3101. Until patched, restrict network access to bRPC's built-in service ports and stop using or exposing the /pprof/heap heap profiler service for jemalloc memory profiling. Inventory deployments running bRPC versions below 1.15.0 and prioritize any that are internet-facing, given the elevated EPSS score.
| Apache bRPC | all versions below 1.15.0, on all platforms |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Remote command injection vulnerability in heap profiler builtin service in Apache bRPC ((all versions < 1.15.0)) on all platforms allows attacker to inject remote command. Root Cause: The bRPC heap profiler built-in service (/pprof/heap) does not validate the user-provided extra_options parameter and executes it as a command-line argument. Attackers can execute remote commands using the extra_options parameter.. Affected scenarios: Use the built-in bRPC heap profiler service to perform jemalloc memory profiling. How to Fix: we provide two methods, you can choose one of them: 1. Upgrade bRPC to version 1.15.0. 2. Apply this patch ( https://github.com/apache/brpc/pull/3101 ) manually.
- Vendors
- apache
- Products
- brpc
- Weakness
- CWE-77
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
In the news0 stories
No ingested article mentions this CVE yet.