CVE-2025-60021: Apache bRPC: Remote command injection vulnerability in heap builtin service
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 extraoptions parameter and executes it as a command-line argument. Attackers can execute remote commands using the extraoptions 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache bRPCto a version that resolves this vulnerability.Fixed in 1.15.0Patch 3101
Event History
Frequently Asked Questions
What is the severity of CVE-2025-60021?
CVE-2025-60021 is considered a critical vulnerability due to its potential for remote command injection.
How do I fix CVE-2025-60021?
To fix CVE-2025-60021, upgrade Apache bRPC to version 1.15.0 or later.
Which versions of Apache bRPC are affected by CVE-2025-60021?
All versions of Apache bRPC prior to 1.15.0 are affected by CVE-2025-60021.
What type of vulnerability is CVE-2025-60021?
CVE-2025-60021 is a remote command injection vulnerability discovered in the heap profiler built-in service of Apache bRPC.
What platforms are affected by CVE-2025-60021?
CVE-2025-60021 affects all platforms running the vulnerable versions of Apache bRPC.