High severity · published Jun 15, 2020
CVE-2020-14147
An integer overflow in the getnum function in lua_struct.c in Redis before 6.0.3 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a…
7.7
CVSS
3.1%
EPSS
No
On KEV
Description
An integer overflow in the getnum function in lua_struct.c in Redis before 6.0.3 allows context-dependent attackers with permission to run Lua code in a Redis session to cause a denial of service (memory corruption and application crash) or possibly bypass intended sandbox restrictions via a large number, which triggers a stack-based buffer overflow. NOTE: this issue exists because of a CVE-2015-8080 regression.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)3.1% · higher than 88% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
Redis · Redis
before 5.0.9; 6.0.0 before 6.0.3 · source: NVD
CO
Communications Operations Monitor · Oracle
3.4; 4.1; 4.2; 4.3 · source: NVD
DL
Debian Linux · Debian
10.0 · source: NVD
LE
Linux Enterprise · Suse
12.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-14147
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-14147
Mailing List
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00058.html
Patch
https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571
Patch
https://github.com/antirez/redis/pull/6875
Third Party Advisory
https://security.gentoo.org/glsa/202008-17
Third Party Advisory
https://www.debian.org/security/2020/dsa-4731
Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2021.html
More from Redis
10.0
CVE-2022-0543
Debian-specific Redis Server Lua Sandbox Escape Vulnerability
9.9
CVE-2025-49844
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2025-27151
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2024-46981
Redis' Lua library commands may lead to remote code execution
9.8
CVE-2022-3734
Redis on Windows dbghelp.dll uncontrolled search path
