CVE-2020-14147
redis: integer overflow in the getnum function in lua_struct.c could lead to a DoS
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 15, 2020
Updated · November 22, 2025
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 score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
There is no known mitigation for this issue, the flaw can only be resolved by applying updates.
CVSS / CWE
CVSS 3.1 · 7.7CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
CWE-190 · Integer Overflow or Wraparound