8.8
HIGH
CVE-2021-32625
Redis Remote Code Execution Heap Corruption Vulnerability
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).

INFO

Published Date :

June 2, 2021, 8:15 p.m.

Last Modified :

Nov. 7, 2023, 3:35 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2021-32625 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Redislabs redis
1 Redis redis
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-32625 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-32625 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/ [No types assigned]
    Added Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/ [No types assigned]
    Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/
    Removed Reference GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/
  • Modified Analysis by [email protected]

    Jul. 02, 2022

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/ Third Party Advisory https://lists.fedoraproject.org/archives/list/[email protected]/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/ Third Party Advisory https://lists.fedoraproject.org/archives/list/[email protected]/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/ Mailing List, Third Party Advisory
    Removed CWE NIST CWE-120
    Added CWE NIST CWE-190
  • CVE Modified by [email protected]

    Aug. 04, 2021

    Action Type Old Value New Value
    Changed 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 (on 32-bit systems ONLY) can 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 for CVE-2021-29477 which only addresses the problem on 64-bit systems but fails to do that for 32-bit. 64-bit systems are not affected. 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. 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).
  • Initial Analysis by [email protected]

    Jun. 14, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/redis/redis/releases/tag/6.0.14 No Types Assigned https://github.com/redis/redis/releases/tag/6.0.14 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/redis/redis/releases/tag/6.2.4 No Types Assigned https://github.com/redis/redis/releases/tag/6.2.4 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/redis/redis/security/advisories/GHSA-46cp-x4x9-6pfq No Types Assigned https://github.com/redis/redis/security/advisories/GHSA-46cp-x4x9-6pfq Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/ Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/ Third Party Advisory
    Added CWE NIST CWE-120
    Added CPE Configuration OR *cpe:2.3:a:redislabs:redis:*:*:*:*:*:*:x84:* versions from (including) 6.0.0 up to (excluding) 6.0.14 *cpe:2.3:a:redislabs:redis:*:*:*:*:*:*:x84:* versions from (including) 6.2.0 up to (excluding) 6.2.4
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jun. 11, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-32625 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.50 }} -0.07%

score

0.73544

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability