CVE-2019-10193
redis: Stack-based Buffer Overflow
Check your servers for CVE-2019-10193
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-10193 affects redis, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A stack-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 corrupting a hyperloglog using the SETRANGE command, an attacker could cause Redis to perform controlled increments of up to 12 bytes past the end of a stack-allocated buffer.
Severity (CVSS)
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- high: the attacker needs an administrative account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 23.3%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 98.2% of all scored CVEs. Scores of 27 Nov 2026.
Weakness
- CWE-121 Stack-based Buffer Overflow
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| redis |
affected 3.x before 3.2.13 affected 4.x before 4.0.14 affected 5.x before 5.0.4
|
Is my server affected?
Find the installed version of redis and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i redis
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-10193 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-10193RHEL, Rocky, Alma, Fedora
rpm -q redis
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-10193Alpine
apk list --installed | grep -i redisWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-10193
trivy image --scanners vuln IMAGE | grep CVE-2019-10193
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the agent.
References
Advisories
- DSA-4480 debian.org · vendor advisory
- USN-4061-1 usn.ubuntu.com · vendor advisory
- RHSA-2019:1819 access.redhat.com · vendor advisory
- RHSA-2019:2002 access.redhat.com · vendor advisory
- GLSA-201908-04 security.gentoo.org · vendor advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10193 bugzilla.redhat.com
Other references
- 20190712 [SECURITY] [DSA 4480-1] redis security update seclists.org · mailing list
- 109290 securityfocus.com · vdb entry
- https://www.oracle.com/security-alerts/cpujul2020.html oracle.com
- https://raw.githubusercontent.com/antirez/redis/3.2/00-RELEASENOTES raw.githubusercontent.com
- https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES raw.githubusercontent.com
- https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES raw.githubusercontent.com
Source: the record CVE-2019-10193 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse