Skip to content
Fencer Intel
high 7.0

CVE-2022-35951 json

Redis subject to Integer Overflow leading to Remote Code Execution via Heap Overflow

published 4y ago modified 2mo ago also BIT-keydb-2022-35951 , BIT-redis-2022-35951 , BIT-valkey-2022-35951 , EUVD-2022-38797 , GHSA-5gc4-76rx-22c9

cvss
7.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.9%
EPSS 3.9% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

Redis is an in-memory database that persists on disk. Versions 7.0.0 and above, prior to 7.0.5 are vulnerable to an Integer Overflow. Executing an `XAUTOCLAIM` command on a stream key in a specific state, with a specially crafted `COUNT` argument may cause an integer overflow, a subsequent heap overflow, and potentially lead to remote code execution. This has been patched in Redis version 7.0.5. No known workarounds exist.

Patch / fix

  • bitnami keydb 7.0.5
  • bitnami redis 7.0.5
  • bitnami valkey 7.0.5
  • redis redis 7.0.5
  • redis Debian 14, Debian 13, Debian 12 5:7.0.5-1

debian advisories DEBIAN-CVE-2022-35951

  • redis openSUSE Tumbleweed 7.0.5-1.1

opensuse advisories openSUSE-SU-2024:12361-1

  • redis Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 7.0.5-r0

alpine advisories ALPINE-CVE-2022-35951

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2022-35951 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-35951 updated cvss 9.8

redis: heap overflow in XAUTOCLAIM command's COUNT argument

  • Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/search-api-rhel8 Red Hat Ansible Automation Platform 1.2 ansible-tower Red Hat Enterprise Linux 8 redis Red Hat Enterprise Linux 9 redis Red Hat Fuse 7 redis Red Hat OpenStack Platform 13 (Queens) redis
    +2 more products
    Red Hat Quay 3 quay/quay-rhel8 Red Hat Software Collections rh-redis6-redis
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
last yr.

Exploit prediction

3.91% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami keydb
>=7.0.0, <7.0.5
7.0.5
bitnami redis
>=7.0.0, <7.0.5
7.0.5
bitnami valkey
>=7.0.0, <7.0.5
7.0.5

Affected products

  • redis redis

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of redis/redis published their own advisory on GitHub. Reviewed sources take precedence over it.