Heap-based Buffer Overflow Affecting redis package, versions <5:7.0.15-1~deb12u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.63% (79th 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-DEBIAN12-REDIS-5772058
  • published12 Jul 2023
  • disclosed11 Jul 2023

Introduced: 11 Jul 2023

CVE-2023-36824  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade Debian:12 redis to version 5:7.0.15-1~deb12u1 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 Debian. See How to fix? for Debian:12 relevant fixed versions and status.

Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted COMMAND GETKEYS or COMMAND GETKEYSANDFLAGSand authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.

CVSS Scores

version 3.1