VDB

CVE-2021-32627

CVE-2021-32627 PUBLISHED CVSS 7.5 HIGH

Integer overflow issue with Streams in Redis

Reported by github_m · Published October 4, 2021

Redis is an open source, in-memory database that persists on disk. In affected versions an integer overflow bug in Redis can be exploited to corrupt the heap and potentially result with remote code execution. The vulnerability involves changing the default proto-max-bulk-len and client-query-buffer-limit configuration parameters to very large values and constructing specially crafted very large stream elements. The problem is fixed in Redis 6.2.6, 6.0.16 and 5.0.14. For users unable to upgrade 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.

Fixed versions

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

PackageEcosystemFixed in
redisAlpine6.2.6-r0, 6.0.16-r0, 5.0.14-r0
valkeyBitnami6.2.6, 6.0.16, 5.0.14
redisBitnami6.2.6, 6.0.16, 5.0.14
keydbBitnami6.2.6, 6.0.16, 5.0.14
redisUbuntu:Pro:18.04:LTS5:4.0.9-1ubuntu0.2+esm3
redisBitnami6.2.6, 6.0.16, 5.0.14
harbor-redisDHI6.2.6, 6.0.16, 5.0.14
keydbBitnami6.2.6, 6.0.16, 5.0.14

Risk scores

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

Affected products

VendorProductVersions
redisredis>= 5.0.0, < 5.0.14, >= 6.0.0, < 6.0.16, >= 6.2.0, < 6.2.6
alpineredis0, 0, 0
redisredis5.0.0, 6.0.0, 6.2.0

Timeline

  • Oct 4, 2021 CVE Published
  • Oct 5, 2021 EPSS Score (30 in total, the first dated here)
  • 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-32627
vulnetix vdb fixes CVE-2021-32627

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-32627/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 ›