CVE-2021-32687: debian debian_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2021-32687 is a high (CVSS 7.5) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 4.09% chance of exploitation in the next 30 days, higher than 90.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 14 · Related 4Timeline
- 04-10-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
Redis is an open source, in-memory database that persists on disk. An integer overflow bug affecting all versions of Redis can be exploited to corrupt the heap and potentially be used to leak arbitrary contents of the heap or trigger remote code execution. The vulnerability involves changing the default set-max-intset-entries configuration parameter to a very large value and constructing specially crafted commands to manipulate sets. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the set-max-intset-entries configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.09%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
-0.03 pp
From 4.13% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe 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.
- CWE-680Integer Overflow to Buffer OverflowThe product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.
Affected systems
Debian2 products
- redis< 5:6.0.16-1
- debian_linuxEOL10.0 | 11.0
Netapp2 products
Alpine1 product
- redis≥ 5.0.0, < 5.0.14-r0 | ≥ 5.0.0, < 6.0.16-r0 | ≥ 5.0.0, < 6.2.6-r0
Fedoraproject1 product
- fedoraEOL33 | 34 | 35
Oracle1 product
- communications_operations_monitor4.3 | 4.4 | 5.0
Redis1 product
- redis< 5.0.14 | ≥ 5.0.0, < 5.0.14 | ≥ 6.0.0, < 6.0.16 | ≥ 6.2.0, < 6.2.6
Ubuntu1 product
- redis< 2:2.8.4-2ubuntu0.2+esm2 | < 2:3.0.6-1ubuntu0.4+esm1 | < 5:4.0.9-1ubuntu0.2+esm3 | < 5:5.0.7-2ubuntu0.1+esm1
7 vendors · 9 products
References
15 links- github.com/redis/redis/security/advisories/GHSA-m3mf-8x9w-r27qX Refsource CONFIRMREPORTThird Party Advisory
- github.com/redis/redis/commit/a30d367a71b7017581cf1ca104242a3c644dec0fX Refsource MISCPatchThird Party Advisory