VDB

CVE-2022-35977

CVE-2022-35977 PUBLISHED CVSS 5.5 MEDIUM

Integer overflow in certain command arguments can drive Redis to OOM panic

Reported by github_m · Published January 20, 2023

Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SETRANGE` and `SORT(_RO)` commands can trigger an integer overflow, resulting with Redis attempting to allocate impossible amounts of memory and abort with an out-of-memory (OOM) panic. The problem is fixed in Redis versions 7.0.8, 6.2.9 and 6.0.17. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Fixed versions

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

PackageEcosystemFixed in
redis6-develAmazon Linux6.2.11-1.amzn2023.0.1
valkeyBitnami7.0.8, 6.2.9, 6.0.17

Risk scores

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

Affected products

VendorProductVersions
redisredis>= 7.0, < 7.0.8, >= 6.2, < 6.2.9, < 6.0.17
amazon:2023redis6-devel0
amazon:2023redis60
alpineredis0, 0
redisredis7.0, 6.2, 0
amazon:2023redis6-doc0

Timeline

  • Jan 16, 2023 CVE Published
  • Jan 21, 2023 EPSS Score (30 in total, the first dated here)
  • Mar 21, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 21, 2026 Security Advisory (3 in total, the first dated here)
  • Jun 20, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-35977
vulnetix vdb fixes CVE-2022-35977

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-2022-35977/fixes/registry"

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

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