CVE-2026-79704Apache BRPC out-of-bounds read
Scor CVSS
7.5
Ridicat
CVSS 3.1 de la 134c704f-9b21-4f2e-91b3-4a467353bcc0
Probabilitate de exploatare (EPSS)
0.51%
Șansă de 0.51% să fie exploatată în următoarele 30 de zile, peste 44.4% dintre toate CVE-urile.
CISA KEV
Nu este în KEV
CISA nu a raportat până acum exploatări confirmate.
Descrierea oficială
An out-of-bounds read vulnerability exists in the streaming RPC client of Apache bRPC (versions 1.11.0 through 1.17.0) on all platforms. A client that creates multiple streams in a single RPC expects the server response to carry exactly one extra_stream_id for every additional stream. The response handling path indexed the returned identifiers using the locally created stream count without first validating the size of the returned list, so a malicious or compromised server (or an on-path attacker) can trigger an out-of-bounds read in the client by returning a malformed StreamSettings response with fewer extra_stream_ids than expected. This may crash the client process (denial of service) or leak unintended memory contents into subsequent stream handling; surplus identifiers have no valid client-stream mapping and are processed inconsistently.
Root Cause:
Since bRPC 1.11.0, a client can create multiple streams in one RPC via batch StreamCreate. The expected behavior is that the server response must return exactly (N-1) extra_stream_ids, where N is the number of locally created streams. In Controller::HandleStreamConnection, the response path reads extra_stream_ids[i-1] for each additional local stream without first comparing the returned list size with (N-1). If the server returns fewer identifiers, the read runs past the end of the returned list (out-of-bounds read); if it returns more, the surplus identifiers have no corresponding client-side stream.
Affected Scenarios:
A bRPC client using multi-stream RPC (creating more than one stream in a single RPC) that connects to an untrusted, malicious, or compromised server or to a server reached through an untrusted network path. The server sends a malformed StreamSettings response to trigger the issue.
How to Fix:
(Choose one of the following options)
1. Upgrade bRPC to version 1.18.0, which fixes this issue.
2. Apply this patch: https://github.com/apache/brpc/pull/3485
Note:
The fix makes the client reject responses whose extra_stream_ids count does not exactly match the number of additional client streams. Such mismatched responses now fail the RPC with ERESPONSE and go through the existing stream cleanup path, instead of being partially processed.
Sursa: NVD · CNA: security@apache.org
Cum îl remediezi, pas cu pas
Verifică dacă ești afectat
Identifică toate sistemele care rulează Apache BRPC și compară versiunea lor cu versiunile afectate.
Actualizează la o versiune remediată
- Actualizează Apache BRPC la 1.18.0 sau mai nou.
Confirmă remedierea
Verifică dacă toate sistemele afectate raportează acum o versiune remediată și revezi avizul furnizorului: remedierile sunt uneori revizuite.
Ți-a fost util?
Cum poate fi exploatată
- Vector de atac
- Rețea
- Complexitatea atacului
- Scăzut
- Privilegii necesare
- Niciunul
- Interacțiune cu utilizatorul
- Niciunul
- Domeniu de impact
- Neschimbat
- Confidențialitate
- Niciunul
- Integritate
- Niciunul
- Disponibilitate
- Ridicat
Valorile în roșu fac vulnerabilitatea mai ușor de exploatat sau mai gravă. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Produse afectate
| Produse afectate | Versiuni |
|---|---|
| Apache Apache BRPC | ≥ 1.11.0, < 1.18.0 |
Tip de slăbiciune
- CWE-125 out-of-bounds read
Cronologie
- Publicat:
- Ultima modificare:
Întrebări frecvente
Este CVE-2026-79704 exploatată?
Până acum nu există exploatări confirmate în catalogul CISA KEV. Scorul EPSS estimează o probabilitate de 0.5% de exploatare în următoarele 30 de zile.
Care este scorul CVSS pentru CVE-2026-79704?
CVE-2026-79704 are un scor de bază CVSS 3.1 de 7.5 (ridicat).
Ce versiuni sunt afectate?
Apache Apache BRPC (≥ 1.11.0, < 1.18.0)
Există patch pentru CVE-2026-79704?
Înregistrarea oficială trimite la avize sau patch-uri ale producătorului; vezi „Ce trebuie să faci” mai sus.
Referințe
Date: NVD, CVE.org (cvelistV5), CISA KEV și FIRST EPSS. Rezumat scris de RedCVE cu ajutorul AI, pe baza datelor oficiale.