CVE-2018-12326

high

Description

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.

References

https://www.exploit-db.com/exploits/44904/

https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES

https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES

https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50

https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0

https://access.redhat.com/errata/RHSA-2019:1860

https://access.redhat.com/errata/RHSA-2019:0094

https://access.redhat.com/errata/RHSA-2019:0052

Details

Source: Mitre, NVD

Published: 2018-06-17

Updated: 2024-11-21

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.4

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

Severity: High