{"schemaVersion":3,"id":"CVE-2021-32626","aliases":["ALPINE-CVE-2021-32626","UBUNTU-CVE-2021-32626","DEBIAN-CVE-2021-32626"],"status":"published","duplicateOf":null,"title":null,"description":"Redis is an open source, in-memory database that persists on disk. In affected versions specially crafted Lua scripts executing in Redis can cause the heap-based Lua stack to be overflowed, due to incomplete checks for this condition. This can result with heap corruption and potentially remote code execution. This problem exists in all versions of Redis with Lua scripting support, starting from 2.6. The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14. For users unable to update an additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.","dates":{"published":"2021-10-04T17:30:11.000Z","modified":"2024-08-03T23:25:30.986Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.16206,"percentile":0.96915,"severity":"medium","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.16206},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.16206,"percentile":0.96915}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.16206,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.16206,"percentile":0.96915}]},"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-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.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":"≥ 2.6, < 5.0.14-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.6, < 6.0.16-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.6, < 6.2.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.6, < 5.0.14-r0 | ≥ 2.6, < 6.0.16-r0 | ≥ 2.6, < 6.2.6-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.16-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5:6.0.16-1","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":"< 2:2.8.4-2ubuntu0.2+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 2:3.0.6-1ubuntu0.4+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5:4.0.9-1ubuntu0.2+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 5:5.0.7-2ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:2.8.4-2ubuntu0.2+esm2 | < 2:3.0.6-1ubuntu0.4+esm1 | < 5:4.0.9-1ubuntu0.2+esm3 | < 5:5.0.7-2ubuntu0.1+esm1","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},{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0 | 11.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":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"33 | 34 | 35","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"netapp","product":"management_services_for_element_software","name":"management services for element software","label":"management_services_for_element_software","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/management_services_for_element_software"},{"vendor":"netapp","product":"management_services_for_netapp_hci","name":"management services for netapp hci","label":"management_services_for_netapp_hci","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/management_services_for_netapp_hci"},{"vendor":"oracle","product":"communications_operations_monitor","name":"communications operations monitor","label":"communications_operations_monitor","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.3","noFixRecorded":false,"fixedIn":null},{"text":"4.4","noFixRecorded":false,"fixedIn":null},{"text":"5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.3 | 4.4 | 5.0","eol":null,"hubHref":"/vendor/oracle/communications_operations_monitor"},{"vendor":"redis","product":"redis","name":"redis","label":"redis","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.6.0, < 5.0.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.6, < 5.0.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.0.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2.0, < 6.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.6.0, < 5.0.14 | ≥ 2.6, < 5.0.14 | ≥ 6.0.0, < 6.0.16 | ≥ 6.2.0, < 6.2.6","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"redis","label":"Redis","category":"database"}},"hubHref":"/vendor/redis/redis"}],"affectedCount":9,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-p486-xggp-782c","label":"github.com/redis/redis/security/advisories/GHSA-p486-xggp-782c","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Third Party Advisory"]},{"url":"https://github.com/redis/redis/commit/666ed7facf4524bf6d19b11b20faa2cf93fdf591","label":"github.com/redis/redis/commit/666ed7facf4524bf6d19b11b20faa2cf93fdf591","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.apache.org/thread.html/r75490c61c2cb7b6ae2c81238fd52ae13636c60435abcd732d41531a0%40%3Ccommits.druid.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://www.debian.org/security/2021/dsa-5001","label":"www.debian.org/security/2021/dsa-5001","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","label":"www.oracle.com/security-alerts/cpuapr2022.html","hostname":"www.oracle.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20211104-0003/","label":"security.netapp.com/advisory/ntap-20211104-0003/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202209-17","label":"security.gentoo.org/glsa/202209-17","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-32626","label":"security.alpinelinux.org/vuln/CVE-2021-32626","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-32626","label":"ubuntu.com/security/CVE-2021-32626","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5221-1","label":"ubuntu.com/security/notices/USN-5221-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32626","label":"www.cve.org/CVERecord?id=CVE-2021-32626","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-32626","label":"security-tracker.debian.org/tracker/CVE-2021-32626","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32626","label":"nvd.nist.gov/vuln/detail/CVE-2021-32626","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2810-1","DSA-5001-1","MGASA-2021-0483","OPENSUSE-SU-2021:3772-1","OPENSUSE-SU-2024:11563-1","RHSA-2021:3918","RHSA-2021:3944","RHSA-2021:3945","RHSA-2021:3946","RHSA-2021:3947","RHSA-2021:3971","RHSA-2021:3980","SUSE-SU-2021:3772-1","USN-5221-1"],"duplicates":[],"related":["OPENSUSE-SU-2021:3772-1","OPENSUSE-SU-2024:11563-1","SUSE-SU-2021:3772-1","USN-5221-1"]},"timeline":[{"kind":"published","date":"2021-10-04T17:30:11.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T23:25:30.986Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":38,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T17:43:00.537Z","stale":false,"partial":false}}