CVE & CISA-KEV Catalog

CVE-2021-32628

HIGHEPSS 96th pctl
7.5
CVSS v3
NVD

Description

Redis is an open source, in-memory database that persists on disk. An integer overflow bug in the ziplist data structure used by all versions of Redis can be exploited to corrupt the heap and potentially result with remote code execution. The vulnerability involves modifying the default ziplist configuration parameters (hash-max-ziplist-entries, hash-max-ziplist-value, zset-max-ziplist-entries or zset-max-ziplist-value) to a very large value, and then constructing specially crafted commands to create very large ziplists. The problem is fixed in Redis versions 6.2.6, 6.0.16, 5.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the above configuration parameters. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.

How to fix

Remediation Available
redisDebian
Fixed in:5:6.0.16-1+deb11u1CVE-2021-32628
Fixed in:5:6.0.16-1CVE-2021-32628
Fixed in:5:6.0.16-1CVE-2021-32628
Fixed in:5:6.0.16-1CVE-2021-32628
redisUbuntu
Fixed in:2:2.8.4-2ubuntu0.2+esm2USN-5221-1
Fixed in:2:3.0.6-1ubuntu0.4+esm1USN-5221-1
Fixed in:5:4.0.9-1ubuntu0.2+esm3USN-5221-1
Fixed in:5:5.0.7-2ubuntu0.1+esm1USN-5221-1
redis-serverUbuntu
Fixed in:2:2.8.4-2ubuntu0.2+esm2USN-5221-1
Fixed in:2:3.0.6-1ubuntu0.4+esm1USN-5221-1
redis-toolsUbuntu
Fixed in:2:2.8.4-2ubuntu0.2+esm2USN-5221-1
Fixed in:2:3.0.6-1ubuntu0.4+esm1USN-5221-1
Fixed in:5:4.0.9-1ubuntu0.2+esm3USN-5221-1
Fixed in:5:5.0.7-2ubuntu0.1+esm1USN-5221-1
Redis on WindowsWindows application
Affected:6.2.0 6.2.6Fixed in:6.2.6MSOpenTech
Affected:6.0.0 6.0.16Fixed in:6.0.16MSOpenTech
Affected:5.0.0 5.0.14Fixed in:5.0.14MSOpenTech

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

13.53%probability of exploitation in 30 days
96thpercentile

Very high risk: more likely to be exploited than 96% of all known CVEs.

References

Related Vulnerabilities

Other CWE-190 (Integer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-16040Medium6.5100%-Fix
CVE-2019-11477High7.599%-Fix
CVE-2023-44443High7.894%-Fix
CVE-2014-0569High9.392%--
CVE-2017-3599High7.590%-Fix
CVE-2023-21716Critical9.882%-Fix

Common questions

How do I fix CVE-2021-32628?

Published advisories record a fix for 5 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2021-32628 being actively exploited?

Not that we know of. CVE-2021-32628 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 13.5% is the estimated probability that it will be exploited in the next 30 days. That is higher than 96% of all scored CVEs.

How severe is CVE-2021-32628?

CVE-2021-32628 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2021-32628 affect?

Published advisories record a fix for redis (Debian), redis (Ubuntu), redis-server (Ubuntu), redis-tools (Ubuntu), and 1 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2021-32628
CVE-2021-32628 severity badge

Markdown

[![CVE-2021-32628](https://tridentstack.com/cve/badge/CVE-2021-32628.svg)](https://tridentstack.com/cve/CVE-2021-32628)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-32628"><img src="https://tridentstack.com/cve/badge/CVE-2021-32628.svg" alt="CVE-2021-32628"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.