Stack-based Buffer Overflow Affecting redis package, versions <0:3.0.6-4.el7ost


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.8% (82nd 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-RHEL7-REDIS-5260711
  • published1 Nov 2021
  • disclosed13 Jun 2018

Introduced: 13 Jun 2018

CVE-2018-12326  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade RHEL:7 redis to version 0:3.0.6-4.el7ost or higher.
This issue was patched in RHSA-2019:0052.

NVD Description

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

Buffer overflow in redis-cli of Redis before 4.0.10 and 5.x before 5.0 RC3 allows an attacker to achieve code execution and escalate to higher privileges via a crafted command line. NOTE: It is unclear whether there are any common situations in which redis-cli is used with, for example, a -h (aka hostname) argument from an untrusted source.