🔍 CVE-2026-82942

0.0
CVSS Score
UNKNOWN
2026-10-21
2026-10-22 16:56
✅ 완료

🇰🇷 한글 설명

Apache bRPC 1.18.0 미만 버전에서 RDMA가 활성화된 경우, RDMA 전송 계층의 데이터 레이스(Data Race)로 인해 원격 클라이언트가 서버 프로세스를 중단시킬 수 있는 서비스 거부(DoS) 취약점이 존재합니다. TCP 파일 디스크립터와 RDMA QP 입력 스트림이 동기화 없이 동일한 버퍼와 파싱 컨텍스트를 공유하면서 발생합니다.

💡 쉬운 설명

서버가 데이터를 읽는 통로 두 개가 서로 충돌하여 데이터가 엉키는 문제가 발생합니다. 공격자가 이 점을 이용해 서버에 잘못된 데이터를 보내면 서버가 갑자기 멈춰버릴 수 있습니다.

🇺🇸 원문 (English)

A data race in the RDMA transport of Apache bRPC (versions < 1.18.0) allows a remote client to crash the server process (denial of service) when RDMA is enabled at build time and runtime. Root Cause: When a bRPC server negotiates RDMA with a client, the handshake completes on the TCP fd, but the server kept parsing that fd afterwards as if it were still an RPC channel. The TCP-fd input stream and the RDMA QP input stream (driven by CQ events) shared the same Socket::_read_buf, preferred_index and parsing_context without synchronization. In addition, CQ event processing could start while the handshake parsing was still in progress, and the handshake ACK phase could consume bytes belonging to the next protocol. A remote, unauthenticated client that has completed the RDMA handshake can send data on the TCP fd at the same time RDMA messages are being processed, corrupting the shared input buffer and parser state and crashing the server process (CWE-362, availability impact). Affected Scenarios: Use a bRPC server with RDMA support enabled (built with BRPC_WITH_RDMA and serving rdma:// / SOCKET_MODE_RDMA sockets) and accept connections from untrusted clients. Deployments without RDMA are not affected. 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/3505

📍 영향받는 시스템

Apache bRPC versions < 1.18.0 (RDMA enabled)

⚔️ 공격 벡터

RDMA 핸드셰이크를 완료한 인증되지 않은 원격 클라이언트가 TCP fd를 통해 데이터를 전송하여 공유 버퍼를 오염시킴

🛡️ 대응 방법

bRPC를 1.18.0 버전으로 업그레이드하거나 제공된 패치(PR #3505)를 적용하십시오.

🔧 검증 코드

출력된 버전이 1.18.0 미만인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
brpc_version_cmd --version 2>/dev/null | grep -E '1\.(1[0-7]|\d+)\.' || echo 'Check manual installation'

💻 영향받는 소프트웨어

Apache HTTP Server