Severity: important 

Affected versions:

- Apache bRPC 1.11.0 before 1.15.0

Description:

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.

Credit:

Simcha Kosman (reporter)

References:

https://brpc.apache.org
https://www.cve.org/CVERecord?id=CVE-2025-60021


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to