Skip to content

CVE-2025-60021 Apache bRPC: Remote command injection vulnerability in heap builtin service

CriticalCVSS 9.8 EPSS 55.2% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Apache bRPC >= 1.11.0, < 1.15.0 1.15.0 Fixed
apache/brpc >= 1.11.0, < 1.15.0 1.15.0 Fixed

Affected products

ProductAffected versionsFixed in
Apache bRPC >= 1.11.0, < 1.15.0 1.15.0
apache/brpc >= 1.11.0, < 1.15.0 1.15.0

References