{"schemaVersion":3,"id":"CVE-2020-14147","aliases":["ALPINE-CVE-2020-14147","MGASA-2020-0312","openSUSE-SU-2020:1035-1","UBUNTU-CVE-2020-14147","DEBIAN-CVE-2020-14147","DSA-4731-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-06-15T16:52:45.000Z","modified":"2024-08-04T12:39:35.877Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","exploitability":7.9,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","exploitability":7.9,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","exploitability":7.9,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03085,"percentile":0.87517,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03085},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03406,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03085,"percentile":0.87517}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03085,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03085,"percentile":0.87517}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"redis","name":"redis","label":"redis","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/redis","purlType":"apk","versions":[{"text":"≥ 6.0.0, < 6.0.3-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.0.3-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"redis","name":"redis","label":"redis","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/redis","purlType":"deb","versions":[{"text":"< 5:6.0.0-1","noFixRecorded":false,"fixedIn":null},{"text":"< 5:5.0.3-4+deb10u2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5:6.0.0-1 | < 5:5.0.3-4+deb10u2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"redis","name":"redis","label":"redis","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/redis","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"mageia","product":"redis","name":"redis","label":"redis","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/redis","purlType":"rpm","versions":[{"text":"< 5.0.9-1.mga7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.9-1.mga7","eol":null,"hubHref":null},{"vendor":"oracle","product":"communications_operations_monitor","name":"communications operations monitor","label":"communications_operations_monitor","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.4","noFixRecorded":false,"fixedIn":null},{"text":"4.1","noFixRecorded":false,"fixedIn":null},{"text":"4.2","noFixRecorded":false,"fixedIn":null},{"text":"4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.4 | 4.1 | 4.2 | 4.3","eol":null,"hubHref":"/vendor/oracle/communications_operations_monitor"},{"vendor":"redislabs","product":"redis","name":"redis","label":"redis","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.0.9","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.0.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.9 | ≥ 6.0.0, < 6.0.3","eol":null,"hubHref":"/vendor/redislabs/redis"},{"vendor":"opensuse","product":"redis&distro=openSUSE Leap 15.1","name":"redis","label":"redis&distro=openSUSE Leap 15.1","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/redis&distro=openSUSE Leap 15.1","purlType":"rpm","versions":[{"text":"< 4.0.14-bp151.3.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.14-bp151.3.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"redis&distro=SUSE Package Hub 12","name":"redis","label":"redis&distro=SUSE Package Hub 12","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/redis&distro=SUSE Package Hub 12","purlType":"rpm","versions":[{"text":"< 4.0.14-bp151.3.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.14-bp151.3.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"redis&distro=SUSE Package Hub 15 SP1","name":"redis","label":"redis&distro=SUSE Package Hub 15 SP1","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/redis&distro=SUSE Package Hub 15 SP1","purlType":"rpm","versions":[{"text":"< 4.0.14-bp151.3.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.0.14-bp151.3.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"linux_enterprise","name":"linux enterprise","label":"linux_enterprise","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"12.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"12.0","eol":null,"hubHref":"/vendor/suse/linux_enterprise"}],"affectedCount":11,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/antirez/redis/pull/6875","label":"github.com/antirez/redis/pull/6875","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571","label":"github.com/antirez/redis/commit/ef764dde1cca2f25d00686673d1bc89448819571","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://www.debian.org/security/2020/dsa-4731","label":"www.debian.org/security/2020/dsa-4731","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00058.html","label":"lists.opensuse.org/opensuse-security-announce/2020-07/msg00058.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202008-17","label":"security.gentoo.org/glsa/202008-17","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujan2021.html","label":"www.oracle.com/security-alerts/cpujan2021.html","hostname":"www.oracle.com","tags":["X Refsource MISC","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2020-14147","label":"security.alpinelinux.org/vuln/CVE-2020-14147","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2020-0312.html","label":"advisories.mageia.org/MGASA-2020-0312.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=26978","label":"bugs.mageia.org/show_bug.cgi?id=26978","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14147","label":"nvd.nist.gov/vuln/detail/CVE-2020-14147","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/RBFBAAVOV76B3CDCO55WND3VVZTYGO33/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1173018","label":"bugzilla.suse.com/1173018","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2020-14147","label":"www.suse.com/security/cve/CVE-2020-14147","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2020-14147","label":"ubuntu.com/security/CVE-2020-14147","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-14147","label":"www.cve.org/CVERecord?id=CVE-2020-14147","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-14147","label":"security-tracker.debian.org/tracker/CVE-2020-14147","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-06-15T16:52:45.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T12:39:35.877Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:00:20.169Z","stale":false,"partial":false}}