cve.bz

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

8.8 highEPSS 4.1%

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

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

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
4.1% (unchanged from 4.1% a week ago; 4.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st 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-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-32625 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32625?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32625?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-32625 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 6.0.0 before 6.0.14
redislabs:redisfrom 6.2.0 before 6.2.4
fedoraproject:fedora33
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14redis5:6.0.14-1DEBIAN-CVE-2021-32625
UbuntuPro:14.04:LTS, Pro:16.04:LTSredisno fix listedUBUNTU-CVE-2021-32625
SUSELinux Enterprise Module for Server Applications 15 SP2, Linux Enterprise Module for Server Applications 15 SP3redis6.0.14-6.5.1SUSE-SU-2021:2294-1
openSUSELeap 15.2redis6.0.14-lp152.2.6.1openSUSE-SU-2021:0841-1
openSUSELeap 15.3redis6.0.14-6.5.1openSUSE-SU-2021:2294-1
openSUSETumbleweedredis6.2.5-1.2openSUSE-SU-2024:11299-1
Alpinev3.13redis6.0.14-r0ALPINE-CVE-2021-32625
Alpinev3.14, v3.15, v3.16 and 8 moreredis6.2.4-r0ALPINE-CVE-2021-32625

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue only affects 32-bit Redis version 6.0 or newer. The Redis module streams shipped with Red Hat Enterprise Linux 8 are not affected by this flaw:

* `redis:5` does not include a vulnerable version of Redis.

* `redis:6` does not provide support for 32-bit Redis.

Red Hat's mitigation

The flaw can be mitigated by disallowing usage of the STRALGO LCS command via ACL configuration. Please see https://redis.io/topics/acl for more information on how to do this. 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).

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-32625.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · 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