7.5

CVE-2021-32761: Integer overflow issues with *BIT commands on 32-bit systems

Modified
AliasesALPINE-CVE-2021-32761UBUNTU-CVE-2021-32761DEBIAN-CVE-2021-32761
Published 21-07-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32761 is a high (CVSS 7.5) Out-of-bounds Read vulnerability in debian debian_linux. EPSS estimates a 36.55% chance of exploitation in the next 30 days, higher than 98.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
36.55%
0%100%
High · +6.45 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 2

Timeline

  1. 21-07-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

Redis is an in-memory database that persists on disk. A vulnerability involving out-of-bounds read and integer overflow to buffer overflow exists starting with version 2.2 and prior to versions 5.0.13, 6.0.15, and 6.2.5. On 32-bit systems, Redis `*BIT*` command are vulnerable to integer overflow that can potentially be exploited to corrupt the heap, leak arbitrary heap contents or trigger remote code execution. The vulnerability involves changing the default `proto-max-bulk-len` configuration parameter to a very large value and constructing specially crafted commands bit commands. This problem only affects Redis on 32-bit platforms, or compiled as a 32-bit binary. Redis versions 5.0.`3m 6.0.15, and 6.2.5 contain patches for this issue. 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

EPSS trend

Probability

36.55%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

Increase +6.45 pp

From 30.10% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
  • redis< 5:6.0.15-1 | < 3:3.2.6-3+deb9u5 | < 3:3.2.6-3+deb9u6
  • debian_linuxEOL9.0 | 10.0 | 11.0
Alpine1 product
  • redis≥ 2.2.0, < 6.0.13-r0 | ≥ 2.2.0, < 6.2.5-r0 | ≥ 2.2.0, < 5.0.13-r0 | ≥ 6.0, < 6.0.13-r0 | ≥ 6.2.0, < 6.2.5-r0
Fedoraproject1 product
Redis1 product
  • redis≥ 2.2, < 5.0.13 | ≥ 6.0.0, < 6.0.15 | ≥ 6.2.0, < 6.2.5
Redislabs1 product
  • redis≥ 2.2.0, < 5.0.13 | ≥ 6.0, < 6.0.15 | ≥ 6.2.0, < 6.2.5
Ubuntu1 product
  • redis< 2:2.8.4-2ubuntu0.2+esm2 | < 2:3.0.6-1ubuntu0.4+esm1 | < 5:4.0.9-1ubuntu0.2+esm3

6 vendors · 7 products

References

14 links
Show all 14 references