Skip to content

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 denial of service (mem...

HighCVSS 7.7 EPSS 3.1%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

20 packages: 16 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/redis(Ubuntu Pro 20.04) = 5:5.0.5-2build1; = 5:5.0.6-1; = 5:5.0.7-1; = 5:5.0.7-2 +7 more No fix listed No fix yet
alpine/redis(Alpine v3.13) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
alpine/redis(Alpine v3.14) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
alpine/redis(Alpine v3.15) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
alpine/redis(Alpine v3.16) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
alpine/redis(Alpine v3.17) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
alpine/redis(Alpine v3.18) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
alpine/redis(Alpine v3.19) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
alpine/redis(Alpine v3.20) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
alpine/redis(Alpine v3.21) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
alpine/redis(Alpine v3.22) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
alpine/redis(Alpine v3.23) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
alpine/redis(Alpine v3.24) >= 6.0.0, < 6.0.3-r0 6.0.3-r0 Fixed
debian/redis(Debian 12) < 5:6.0.0-1 5:6.0.0-1 Fixed
debian/redis(Debian 13) < 5:6.0.0-1 5:6.0.0-1 Fixed
debian/redis(Debian 14) < 5:6.0.0-1 5:6.0.0-1 Fixed
redislabs redis < 5.0.9; >= 6.0.0, < 6.0.3 5.0.9, 6.0.3 Fixed
debian linux = 10.0 No fix listed Versions listed
oracle communications operations monitor = 3.4; = 4.1; = 4.2; = 4.3 No fix listed Versions listed
SUSE linux enterprise = 12.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/redis(Debian:12) < 5:6.0.0-1 5:6.0.0-1
debian/redis(Debian:13) < 5:6.0.0-1 5:6.0.0-1
debian/redis(Debian:14) < 5:6.0.0-1 5:6.0.0-1
redislabs redis < 5.0.9 5.0.9
redislabs redis >= 6.0.0, < 6.0.3 6.0.3
oracle communications operations monitor = 3.4 No fix listed
oracle communications operations monitor = 4.1 No fix listed
oracle communications operations monitor = 4.2 No fix listed
oracle communications operations monitor = 4.3 No fix listed
SUSE linux enterprise = 12.0 No fix listed
debian linux = 10.0 No fix listed
alpine/redis(Alpine:v3.13) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
alpine/redis(Alpine:v3.14) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
alpine/redis(Alpine:v3.15) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
alpine/redis(Alpine:v3.16) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
alpine/redis(Alpine:v3.17) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
alpine/redis(Alpine:v3.18) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
alpine/redis(Alpine:v3.19) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
alpine/redis(Alpine:v3.20) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
alpine/redis(Alpine:v3.21) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
alpine/redis(Alpine:v3.22) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
alpine/redis(Alpine:v3.23) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
alpine/redis(Alpine:v3.24) >= 6.0.0, < 6.0.3-r0 6.0.3-r0
ubuntu/redis(Ubuntu:Pro:20.04) All versions No fix listed
ubuntu/redis(Ubuntu:Pro:20.04) = 5:5.0.5-2build1 No fix listed
Show 9 more
ProductAffected versionsFixed in
ubuntu/redis(Ubuntu:Pro:20.04) = 5:5.0.6-1 No fix listed
ubuntu/redis(Ubuntu:Pro:20.04) = 5:5.0.7-1 No fix listed
ubuntu/redis(Ubuntu:Pro:20.04) = 5:5.0.7-2 No fix listed
ubuntu/redis(Ubuntu:Pro:20.04) = 5:5.0.7-2ubuntu0.1~esm1 No fix listed
ubuntu/redis(Ubuntu:Pro:20.04) = 5:5.0.7-2ubuntu0.1 No fix listed
ubuntu/redis(Ubuntu:Pro:20.04) = 5:5.0.7-2ubuntu0.1+esm1 No fix listed
ubuntu/redis(Ubuntu:Pro:20.04) = 5:5.0.7-2ubuntu0.1+esm2 No fix listed
ubuntu/redis(Ubuntu:Pro:20.04) = 5:5.0.7-2ubuntu0.1+esm3 No fix listed
ubuntu/redis(Ubuntu:Pro:20.04) = 5:5.0.7-2ubuntu0.1+esm4 No fix listed

References