CVE-2021-32627: debian debian_linux Integer Overflow or Wraparound
Vulnerability summary
CVE-2021-32627 is a high (CVSS 7.5) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 3.93% chance of exploitation in the next 30 days, higher than 90.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 13 · 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. In affected versions an integer overflow bug in Redis can be exploited to corrupt the heap and potentially result with remote code execution. The vulnerability involves changing the default proto-max-bulk-len and client-query-buffer-limit configuration parameters to very large values and constructing specially crafted very large stream elements. The problem is fixed in Redis 6.2.6, 6.0.16 and 5.0.14. For users unable to upgrade an additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the proto-max-bulk-len 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
3.93%
Chance of exploitation in the next 30 days
Percentile
90%
Versus all other CVEs
30-day change
-0.03 pp
From 3.96% on 19-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.0, < 5.0.14 | ≥ 6.0.0, < 6.0.16 | ≥ 6.2.0, < 6.2.6
Ubuntu1 product
- redis< 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/commit/f6a40570fa63d5afdd596c78083d754081d80ae3X Refsource MISCREPORTPatchThird Party Advisory
- github.com/redis/redis/security/advisories/GHSA-f434-69fm-g45vX Refsource CONFIRMREPORTThird Party Advisory