Redis
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*
- >= 7.0.0, < 8.0.2
A stack-based buffer overflow vulnerability has been identified in the Redis command-line tool redis-check-aof, affecting Redis versions 7.0.0 prior to 8.0.2. The vulnerability arises from the use of memcpy with strlen(filepath), which allows user-supplied file paths to overflow a fixed-size stack buffer. This could enable an attacker to manipulate the stack and execute arbitrary code.
Exploitation of this vulnerability can lead to a stack-based buffer overflow, with the potential for arbitrary code execution.
To reproduce this vulnerability, run the redis-check-aof command and provide a file path that exceeds the maximum allowed length. The tool will attempt to copy the path into a fixed-size stack buffer, causing a buffer overflow. This vulnerability exists in Redis versions 7.0.0 through 8.0.2.
Users can upgrade to Redis version 8.0.2 or later, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.