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.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://github.com/antirez/redis/pull/6875 | third party advisory patch |
https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571 | third party advisory patch |
https://www.debian.org/security/2020/dsa-4731 | third party advisory vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00058.html | vendor advisory mailing list third party advisory |
https://security.gentoo.org/glsa/202008-17 | third party advisory vendor advisory |
https://www.oracle.com/security-alerts/cpujan2021.html | third party advisory |