{"id":"UBUNTU-CVE-2020-14147","details":"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.","modified":"2025-10-15T16:49:30Z","published":"2020-06-15T18:15:00Z","upstream":["CVE-2020-14147"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-14147"},{"type":"REPORT","url":"https://github.com/antirez/redis/pull/6875"},{"type":"REPORT","url":"https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-14147"}],"affected":[{"package":{"name":"redis","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/redis@5:5.0.7-2ubuntu0.1+esm4?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5:5.0.5-2build1","5:5.0.6-1","5:5.0.7-1","5:5.0.7-2","5:5.0.7-2ubuntu0.1~esm1","5:5.0.7-2ubuntu0.1","5:5.0.7-2ubuntu0.1+esm1","5:5.0.7-2ubuntu0.1+esm2","5:5.0.7-2ubuntu0.1+esm3","5:5.0.7-2ubuntu0.1+esm4"],"ecosystem_specific":{"binaries":[{"binary_name":"redis","binary_version":"5:5.0.7-2ubuntu0.1+esm4"},{"binary_name":"redis-sentinel","binary_version":"5:5.0.7-2ubuntu0.1+esm4"},{"binary_version":"5:5.0.7-2ubuntu0.1+esm4","binary_name":"redis-server"},{"binary_name":"redis-tools","binary_version":"5:5.0.7-2ubuntu0.1+esm4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14147.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}