CVE-2025-54472
BaseFortify
Publication date: 2025-08-14
Last updated on: 2025-11-04
Assigner: Apache Software Foundation
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| apache | brpc | to 1.14.1 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-400 | The product does not properly control the allocation and maintenance of a limited resource. |
| CWE-190 | The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is an unlimited memory allocation issue in the Redis protocol parser of Apache bRPC versions before 1.14.1. The parser allocates memory based on integers read from the network, but if these integers are too large, it can cause a memory allocation error leading to a crash of the service. Attackers can exploit this by sending specially crafted data packets to cause a denial-of-service (DoS) attack.
How can this vulnerability impact me? :
The vulnerability can be exploited by attackers to crash the bRPC service by causing it to allocate excessive memory, resulting in a denial-of-service (DoS) condition. This can disrupt network services if bRPC is used as a Redis server or client, especially when interacting with untrusted clients or services.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should either upgrade bRPC to version 1.14.1 or manually apply the patch available at https://github.com/apache/brpc/pull/3050. The patch limits the maximum memory allocation size in the bRPC Redis parser to 64M by default. If your Redis requests or responses exceed 64M, you can adjust the gflag 'redis_max_allocation_size' to a larger value accordingly.