Skip to content
Vulnerability Intelligence

CVE-2022-36021

Medium

Authenticated users can use string matching commands (like SCAN or KEYS) with a specially crafted pattern to trigger a denial-of-service attack on Redis, causing it to hang and consume 100% CPU time.

Published Mar 1, 2023 · Updated Sep 8, 2026 · Also known as BIT-keydb-2022-36021, BIT-redis-2022-36021, BIT-valkey-2022-36021, DEBIAN-CVE-2022-36021, DLA-3361-1, GHSA-jr7j-rfj5-8xqv, SUSE-SU-2023:0693-1, SUSE-SU-2023:0694-1, SUSE-SU-2023:2122-1, UBUNTU-CVE-2022-36021

Key Facts

Patch immediately
  • CVE-2022-36021 is a medium-severity vulnerability (CVSS 5.5 v3.1) affecting Redis, keydb (bitnami), valkey (bitnami) and 8 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 60% probability of exploitation in the next 30 days.
  • Fixed versions are available, including keydb 6.0.18, keydb 6.2.11, keydb 7.0.9.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

5.5

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

EPSS (30-day exploit likelihood)

60%

Higher than 99.1% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2022-36021 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

Redis is an in-memory database that persists on disk. Authenticated users can use string matching commands (like SCAN or KEYS) with a specially crafted pattern to trigger a denial-of-service attack on Redis, causing it to hang and consume 100% CPU time. The problem is fixed in Redis versions 6.0.18, 6.2.11, 7.0.9.

Affected Products

78 affected entries in total
ProductAffected versionsFixed in
RedisRedis>= < 6.0.186.0.18
keydbbitnamiSee advisory6.0.18
valkeybitnamiSee advisory6.0.18
redis6-develamazonSee advisory6.2.11-1.amzn2023.0.1
redis6amazonSee advisory6.2.11-1.amzn2023.0.1
6 more affected products in the full CVE brief

Patched Releases

keydb

6.0.18, 6.2.11, 7.0.9

Redis

2:2.8.4-2ubuntu0.2+esm3, 2:3.0.6-1ubuntu0.4+esm2, 5:4.0.9-1ubuntu0.2+esm4, 5:5.0.14-1+deb10u3, 5:5.0.7-2ubuntu0.1+esm2, 5:6.0.16-1+deb11u3, 5:6.0.16-1ubuntu1+esm1, 5:7.0.9-1, 6.0.14-150200.6.20.1, 6.0.18, 6.2.11, 6.2.11-1, 6.2.17-1.0.1.module+el8.10.0+90491+f9002f77, 6.2.17-1.module_el8.10.0+3946+3de613d5, 6.2.17-1.module+el8.10.0+1923+5b85c6a7, 6.2.6-150400.3.16.1, 6.2.6-150400.3.19.1, 6.2.7-4.ph3, 7.0.0-7.ph4, 7.0.8-2.1, 7.0.9

redis-devel

6.2.17-1.0.1.module+el8.10.0+90491+f9002f77

redis-doc

6.2.17-1.0.1.module+el8.10.0+90491+f9002f77

redis:6

8100020250113083959.489197e6

redis6

6.2.11-1.amzn2023.0.1

redis6-devel

6.2.11-1.amzn2023.0.1

redis6-doc

6.2.11-1.amzn2023.0.1

redis7

7.0.8-150500.3.3.1

valkey

6.0.18, 6.2.11, 7.0.9

Timeline

  1. Publicly disclosed

    Mar 1, 2023

  2. Last updated

    Sep 8, 2026

Weakness Type

  • CWE-190 Integer Overflow or Wraparound
  • CWE-407 Inefficient Algorithmic Complexity

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-36021 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo