Skip to content
OpenAdvisories
Unscored CVE-2020-14147 EUVD-2020-6304GHSA-5q54-rrmc-9jrp

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 …

Published Jun 15, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 redis 5:6.0.0-1 —
Debian 13 redis 5:6.0.0-1 —
Debian 12 redis 5:6.0.0-1 —
Debian 10 redis 5:5.0.3-4+deb10u2 DSA-4731-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS redis No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP1 redis 4.0.14-bp151.3.6.1 openSUSE-SU-2020:1035-1
SUSE Package Hub 12 redis 4.0.14-bp151.3.6.1 openSUSE-SU-2020:1035-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.1 redis 4.0.14-bp151.3.6.1 openSUSE-SU-2020:1035-1
ReleasePackageFixed inAdvisory
Alpine v3.24 redis 6.0.3-r0 —
Alpine v3.23 redis 6.0.3-r0 —
Alpine v3.22 redis 6.0.3-r0 —
Alpine v3.21 redis 6.0.3-r0 —
Alpine v3.20 redis 6.0.3-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 redis 6.0.3-r0 —
Alpine v3.18 redis 6.0.3-r0 —
Alpine v3.17 redis 6.0.3-r0 —
Alpine v3.16 redis 6.0.3-r0 —
Alpine v3.15 redis 6.0.3-r0 —
Alpine v3.14 redis 6.0.3-r0 —
Alpine v3.13 redis 6.0.3-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) redis 5.0.5-7 —

Advisories 2

References