🔍 CVE-2025-54472

7.5
CVSS Score
HIGH
2025-08-14
2026-06-17 09:40
✅ 완료

🇰🇷 한글 설명

Apache bRPC의 Redis 프로토콜 파서에서 발생하는 무제한 메모리 할당 취약점으로, 네트워크를 통해 공격자가 서비스를 중단시킬 수 있습니다. 1.14.0 버전은 제한 로직이 부적절하게 구현되어 정수 오버플로우를 통한 우회가 가능하므로 모든 1.14.1 미만 버전이 취약합니다.

💡 쉬운 설명

해커가 특수한 데이터를 보내면 프로그램이 감당할 수 없는 엄청난 양의 메모리를 사용하려고 시도하게 됩니다. 이 과정에서 컴퓨터의 메모리가 부족해지거나 오류가 발생하여 서비스가 갑자기 꺼지게 됩니다.

🇺🇸 원문 (English)

Unlimited memory allocation in redis protocol parser in Apache bRPC (all versions < 1.14.1) on all platforms allows attackers to crash the service via network. Root Cause: In the bRPC Redis protocol parser code, memory for arrays or strings of corresponding sizes is allocated based on the integers read from the network. If the integer read from the network is too large, it may cause a bad alloc error and lead to the program crashing. Attackers can exploit this feature by sending special data packets to the bRPC service to carry out a denial-of-service attack on it. The bRPC 1.14.0 version tried to fix this issue by limited the memory allocation size, however, the limitation checking code is not well implemented that may cause integer overflow and evade such limitation. So the 1.14.0 version is also vulnerable, although the integer range that affect version 1.14.0 is different from that affect version < 1.14.0. Affected scenarios: Using bRPC as a Redis server to provide network services to untrusted clients, or using bRPC as a Redis client to call untrusted Redis services. How to Fix: we provide two methods, you can choose one of them: 1. Upgrade bRPC to version 1.14.1. 2. Apply this patch ( https://github.com/apache/brpc/pull/3050 ) manually. No matter you choose which method, you should note that the patch limits the maximum length of memory allocated for each time in the bRPC Redis parser. The default limit is 64M. If some of you redis request or response have a size larger than 64M, you might encounter error after upgrade. For such case, you can modify the gflag redis_max_allocation_size to set a larger limit.

📍 영향받는 시스템

Apache bRPC 1.14.1 미만 모든 버전

⚔️ 공격 벡터

네트워크를 통해 조작된 Redis 프로토콜 패킷을 전송하여 서비스 거부(DoS) 공격 수행

🛡️ 대응 방법

bRPC를 1.14.1 버전으로 업그레이드하거나 제공된 패치를 수동으로 적용하십시오.

🔧 검증 코드

출력된 버전 정보가 1.14.1 미만인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
git describe --tags 2>/dev/null || echo 'Version info not found'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

Apache HTTP Server