Todas las CVE / Apache Software Foundation
CVE-2026-56388Apache Software Foundation Apache bRPC
Escritura fuera de límites en el analizador Redis de Apache bRPC
Crítica 9.1 Sin autenticación
Seguir: esta CVE · Apache Software Foundation · Apache Software Foundation Apache bRPC Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 21 oct 2026
- Actualizada
- 30 oct 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Qué pasa
Apache bRPC acepta un array RESP vacío como encabezado de comando Redis, lo que permite a un atacante remoto sin autenticación enviar datos malformados que causan una escritura fuera de límites en el analizador. Un atacante que pueda alcanzar un servidor bRPC con el servicio Redis habilitado puede provocar un fallo del proceso.
Ver el texto original de NVD (en inglés)
The Redis server command parser in Apache bRPC accepts an empty RESP array as a command header. A remote unauthenticated attacker who can reach a bRPC server with Redis service enabled can send an empty array header followed by a bulk string, causing an out-of-bounds write in the parser and crashing the process.
Root Cause:
RedisCommandParser::ConsumeImpl rejected negative RESP array counts but accepted zero. It resized the command argument vector to zero elements and continued parsing. When a following bulk string was parsed, the only index guard was a CHECK. In configurations where fatal logs do not abort immediately, execution could continue and write to _args[0] even though the vector was empty.
Affected Scenarios:
Deployments that enable ServerOptions.redis_service and accept Redis protocol traffic from untrusted clients. The issue is reached during parsing before command handling or authentication.
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/3354
Note:
The fix rejects empty RESP arrays as invalid Redis commands and replaces the internal index CHECK with an explicit parse error so malformed command streams cannot fall through to an indexed vector write.
Qué hacer
Hay parche · versiones corregidas: 1.18.0
Actualiza Apache bRPC a la versión 1.18.0 o superior. Si no puedes actualizar inmediatamente, deshabilita ServerOptions.redis_service o restringe el acceso a la red.
- Aplica la actualización de seguridad del fabricante para Apache bRPC.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Productos afectados
- Apache Software Foundation · Apache bRPC
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.