CVE-2018-12326

NameCVE-2018-12326
DescriptionBuffer 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1396-1, DSA-4230-1, ELA-34-1
Debian Bugs902410

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
redis (PTS)jessie, jessie (lts)2:2.8.17-1+deb8u12fixed
stretch (security)3:3.2.6-3+deb9u9fixed
stretch (lts), stretch3:3.2.6-3+deb9u12fixed
buster (security), buster, buster (lts)5:5.0.14-1+deb10u5fixed
bullseye5:6.0.16-1+deb11u2fixed
bullseye (security)5:6.0.16-1+deb11u3fixed
bookworm (security), bookworm5:7.0.15-1~deb12u1fixed
sid, trixie5:7.0.15-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
redissourcewheezy2:2.4.14-1+deb7u3ELA-34-1
redissourcejessie2:2.8.17-1+deb8u6DLA-1396-1
redissourcestretch3:3.2.6-3+deb9u1DSA-4230-1
redissource(unstable)5:4.0.10-1902410

Notes

https://gist.github.com/fakhrizulkifli/f831f40ec6cde4f744c552503d8698f0
https://github.com/antirez/redis/commit/9fdcc15962f9ff4baebe6fdd947816f43f730d50

Search for package or bug name: Reporting problems