7.5high
Apache bRPC: Remote denial of service (crash) via malformed stream feedback frames
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.50% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
Description
Enforceable assertion in the streaming feature of Apache bRPC (version < 1.18.0) on all platforms allows a remote attacker to crash the server process by sending a malformed stream feedback frame. Root Cause: When handling FRAME_TYPE_FEEDBACK frames, bRPC calls Stream::SetRemoteConsumed() which contains CHECK(_cur_buf_size > 0) and unconditionally asserts CHECK(buf.IsEmpty()) on the frame payload. A feedback frame that carries an unexpected payload, or a feedback frame received on a stream where flow control is disabled (cur_buf_size == 0), reaches these assertions. On failure, CHECK failures abort the process, allowing an unauthenticated single client (once a stream is established) to terminate the server and cause a denial of service. Affected Scenarios: Use bRPC server with the streaming control feature (Stream API) served from untrusted network. How to Fix: 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3494 The fix rejects malformed feedback frames with EPROTO and closes only the affected stream instead of crashing the whole process, and it bounds buffer shrinking so cur_buf_size never drops to 0 while flow control is enabled.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| apache/brpc | before 1.18.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Enforceable assertion in the streaming feature of Apache bRPC (version < 1.18.0) on all platforms allows a remote attacker to crash the server process by sending a malformed stream feedback frame. Root Cause: When handling FRAME_TYPE_FEEDBACK frames, bRPC calls Stream::SetRemoteConsumed() which contains CHECK(_cur_buf_size > 0) and unconditionally asserts CHECK(buf.IsEmpty()) on the frame payload. A feedback frame that carries an unexpected payload, or a feedback frame received on a stream where flow control is disabled (cur_buf_size == 0), reaches these assertions. On failure, CHECK failures abort the process, allowing an unauthenticated single client (once a stream is established) to terminate the server and cause a denial of service. Affected Scenarios: Use bRPC server with the streaming control feature (Stream API) served from untrusted network. How to Fix: 1. Upgrade bRPC to version 1.18.0, which fixes this issue. 2. Apply this patch: https://github.com/apache/brpc/pull/3494 The fix rejects malformed feedback frames with EPROTO and closes only the affected stream instead of crashing the whole process, and it bounds buffer shrinking so cur_buf_size never drops to 0 while flow control is enabled.
NVD (es)
Una aserción exigible en la funcionalidad de streaming de Apache bRPC (versiones anteriores a la 1.18.0) en todas las plataformas permite a un atacante remoto causar una caída del proceso del servidor enviando un marco de retroalimentación de streaming malformado.\n\nCausa raíz:\nAl manejar tramas FRAME_TYPE_FEEDBACK, bRPC llama a Stream::SetRemoteConsumed() que contiene CHECK(_cur_buf_size mayor que 0) y afirma incondicionalmente CHECK(buf.IsEmpty()) sobre la carga útil de la trama. Una trama de retroalimentación que lleva una carga inesperada, o una trama de retroalimentación recibida en un flujo donde el control de flujo está deshabilitado (cur_buf_size == 0), alcanza estas aserciones. En caso de fallo, los errores CHECK abortan el proceso, permitiendo a un único cliente no autenticado (una vez establecido el flujo) terminar el servidor y provocar una denegación de servicio.\n\nEscenarios afectados:\nUtilizar el servidor bRPC con la funcionalidad de control de streaming (API Stream) expuesto desde una red no confiable.\n\nCómo solucionar:\n1. Actualizar bRPC a la versión 1.18.0, que corrige este problema.\n2. Aplicar este parche: https://github.com/apache/brpc/pull/3494\n\nLa corrección rechaza tramas de retroalimentación malformadas con EPROTO y cierra solo el flujo afectado en lugar de bloquear todo el proceso, y limita la reducción del búfer de modo que cur_buf_size nunca llegue a 0 mientras el control de flujo está habilitado.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-82210 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2026-82210 changed 2026-10-30 | Public domain |