DescriptionA heap-buffer overflow vulnerability was found in the Redis hyperloglog data structure versions 3.x before 3.2.13, 4.x before 4.0.14 and 5.x before 5.0.4. By carefully corrupting a hyperloglog using the SETRANGE command, an attacker could trick Redis interpretation of dense HLL encoding to write up to 3 bytes beyond the end of a heap-allocated buffer.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1850-1, DSA-4480-1
NVD severitymedium
Debian Bugs931625

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
redis (PTS)jessie2:2.8.17-1+deb8u5vulnerable
jessie (security)2:2.8.17-1+deb8u7fixed
stretch (security), stretch3:3.2.6-3+deb9u3fixed
buster, buster (security)5:5.0.3-4+deb10u1fixed
bullseye, sid5:5.0.7-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs

Notes (upstream announcement) (5.0.4) (5.0.4)

Search for package or bug name: Reporting problems