cve.bz

CVE-2021-32761 Year 2038 problem, Y2K38, Y2038, Epochalypse

7.5 highEPSS 30%

High (7.5). EPSS 30% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
30% (unchanged from 30% a week ago; 30% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-125 Out-of-bounds Read
CWE-680 Integer Overflow to Buffer Overflow
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-32761 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32761?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32761?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-32761 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redislabs:redisfrom 2.2.0 before 5.0.13
redislabs:redisfrom 6.0 before 6.0.15
redislabs:redisfrom 6.2.0 before 6.2.5
debian:debian_linux9.0
debian:debian_linux10.0
debian:debian_linux11.0
fedoraproject:fedora33
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9redis3:3.2.6-3+deb9u5DLA-2717-1
Debian9redis3:3.2.6-3+deb9u6DLA-2717-2
Debian12, 13, 14redis5:6.0.15-1DEBIAN-CVE-2021-32761
UbuntuPro:14.04:LTSredis2:2.8.4-2ubuntu0.2+esm2UBUNTU-CVE-2021-32761 USN-5221-1
UbuntuPro:16.04:LTSredis2:3.0.6-1ubuntu0.4+esm1UBUNTU-CVE-2021-32761 USN-5221-1
UbuntuPro:18.04:LTSredis5:4.0.9-1ubuntu0.2+esm3UBUNTU-CVE-2021-32761 USN-5221-1
UbuntuPro:20.04:LTSredis5:5.0.7-2ubuntu0.1+esm1USN-5221-1
openSUSETumbleweedredis6.2.5-1.2openSUSE-SU-2024:11299-1
Alpinev3.11, v3.12redis5.0.13-r0ALPINE-CVE-2021-32761
Alpinev3.13redis6.0.13-r0ALPINE-CVE-2021-32761
Alpinev3.14, v3.15, v3.16 and 8 moreredis6.2.5-r0ALPINE-CVE-2021-32761
Azure Linux2redis6.2.5-1AZL-6850

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This does not affect Redis 5 and Redis 6 packages shipped on Red Hat Enterprise Linux 7 and Red Hat Enterprise Linux 8, as they are 64-bit packages and the issue only affects 32-bit.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Management for Kubernetes 2redisgraph-tlsNot affected
Red Hat Ansible Automation Platform 1.2redisNot affected
Red Hat Ansible Tower 3redisNot affected
Red Hat Enterprise Linux 8redis:5/redisNot affected
Red Hat Enterprise Linux 8redis:6/redisNot affected
Red Hat Enterprise Linux 9redisNot affected
Red Hat OpenStack Platform 10 (Newton)redisNot affected
Red Hat OpenStack Platform 13 (Queens)redisNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-32761.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High
  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-680 (11).

References

Check your stackJSON