UBUNTU-CVE-2021-32625 (CVE-2021-32625)
Vulnerability from osv_ubuntu – Published: 2021-06-02 20:15 – Updated: 2026-04-14 08:14 – Source websiteRedis 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).
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "redis-server",
"binary_version": "2:2.8.4-2ubuntu0.2+esm5"
},
{
"binary_name": "redis-tools",
"binary_version": "2:2.8.4-2ubuntu0.2+esm5"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "redis",
"purl": "pkg:deb/ubuntu/redis@2:2.8.4-2ubuntu0.2+esm5?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:2.6.13-1",
"2:2.6.16-3",
"2:2.8.0-1",
"2:2.8.2-1",
"2:2.8.4-2",
"2:2.8.4-2ubuntu0.2",
"2:2.8.4-2ubuntu0.2+esm1",
"2:2.8.4-2ubuntu0.2+esm2",
"2:2.8.4-2ubuntu0.2+esm3",
"2:2.8.4-2ubuntu0.2+esm4",
"2:2.8.4-2ubuntu0.2+esm5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "redis-sentinel",
"binary_version": "2:3.0.6-1ubuntu0.4+esm5"
},
{
"binary_name": "redis-server",
"binary_version": "2:3.0.6-1ubuntu0.4+esm5"
},
{
"binary_name": "redis-tools",
"binary_version": "2:3.0.6-1ubuntu0.4+esm5"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "redis",
"purl": "pkg:deb/ubuntu/redis@2:3.0.6-1ubuntu0.4+esm5?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:3.0.3-3",
"2:3.0.5-1",
"2:3.0.5-2",
"2:3.0.5-3",
"2:3.0.5-4",
"2:3.0.6-1",
"2:3.0.6-1ubuntu0.2",
"2:3.0.6-1ubuntu0.3",
"2:3.0.6-1ubuntu0.4",
"2:3.0.6-1ubuntu0.4+esm1",
"2:3.0.6-1ubuntu0.4+esm2",
"2:3.0.6-1ubuntu0.4+esm3",
"2:3.0.6-1ubuntu0.4+esm4",
"2:3.0.6-1ubuntu0.4+esm5"
]
}
],
"aliases": [],
"details": "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).",
"id": "UBUNTU-CVE-2021-32625",
"modified": "2026-04-14T08:14:15Z",
"published": "2021-06-02T20:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-32625"
},
{
"type": "REPORT",
"url": "https://github.com/redis/redis/pull/9011"
},
{
"type": "REPORT",
"url": "https://github.com/redis/redis/commit/1ddecf1958924b178b76a31d989ef1e05af81964"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-32625"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-32625"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.