CVE-2021-32625
Last modified
CVE-2021-32625 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. An integer overflow bug in Redis version 6.0 or newer, could be exploited using the STRALGO LCS command to corrupt the heap and potentially result with remote code execution. EPSS estimates a 4.38% chance of exploitation in the next 30 days.
Description
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. An integer overflow bug in Redis version 6.0 or newer, could be exploited using the STRALGO LCS command to corrupt the heap and potentially result with remote code execution. This is a result of an incomplete fix by CVE-2021-29477. The problem is fixed in version 6.2.4 and 6.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to use ACL configuration to prevent clients from using the STRALGO LCS command. On 64 bit systems which have the fixes of CVE-2021-29477 (6.2.3 or 6.0.13), it is sufficient to make sure that the proto-max-bulk-len config parameter is smaller than 2GB (default is 512MB).
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redislabs | Redis | >= 6.0.0, < 6.0.14 |
| Redislabs | Redis | >= 6.2.0, < 6.2.4 |
| Fedoraproject | Fedora | 33 |
| Fedoraproject | Fedora | 34 |
References
- https://github.com/redis/redis/releases/tag/6.0.14Release Notes, Third Party Advisory
- https://github.com/redis/redis/releases/tag/6.2.4Release Notes, Third Party Advisory
- https://github.com/redis/redis/security/advisories/GHSA-46cp-x4x9-6pfqThird Party Advisory
- https://github.com/redis/redis/releases/tag/6.0.14Release Notes, Third Party Advisory
- https://github.com/redis/redis/releases/tag/6.2.4Release Notes, Third Party Advisory
- https://github.com/redis/redis/security/advisories/GHSA-46cp-x4x9-6pfqThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-32625?
How severe is CVE-2021-32625?
How do I fix CVE-2021-32625?
Are you affected by CVE-2021-32625?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
