Algorithmic Complexity Affecting redis package, versions <2:3.0.6-1ubuntu0.4+esm2


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
59.4% (99th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-REDIS-3337426
  • published1 Jun 2025
  • disclosed1 Mar 2023

Introduced: 1 Mar 2023

CVE-2022-36021  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 redis to version 2:3.0.6-1ubuntu0.4+esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis package and not the redis package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1