VDB

CVE-2021-32675

CVE-2021-32675 PUBLISHED CVSS 7.5 HIGH

DoS vulnerability in Redis

Reported by github_m · Published October 4, 2021

Redis is an open source, in-memory database that persists on disk. When parsing an incoming Redis Standard Protocol (RESP) request, Redis allocates memory according to user-specified values which determine the number of elements (in the multi-bulk header) and size of each element (in the bulk header). An attacker delivering specially crafted requests over multiple connections can cause the server to allocate significant amount of memory. Because the same parsing mechanism is used to handle authentication requests, this vulnerability can also be exploited by unauthenticated users. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate this problem without patching the redis-server executable is to block access to prevent unauthenticated users from connecting to Redis. This can be done in different ways: Using network access control tools like firewalls, iptables, security groups, etc. or Enabling TLS and requiring users to authenticate using client side certificates.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
valkeyBitnami6.2.6, 6.0.16, 5.0.14
redisUbuntu:Pro:14.04:LTS2:2.8.4-2ubuntu0.2+esm2
redisredis6.2.6

Risk scores

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

Affected products

VendorProductVersions
redisredis< 5.0.14, >= 6.0.0, < 6.0.16, >= 6.2.0, < 6.2.6
redisredis0, 6.0.0, 6.2.0
alpineredis0, 0, 0

Timeline

  • Oct 4, 2021 CVE Published
  • Oct 5, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 7, 2026 Distribution Patch (13 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (15 in total, the first dated here)
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-32675
vulnetix vdb fixes CVE-2021-32675

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-32675/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›