{"schemaVersion":3,"id":"CVE-2021-32687","aliases":["ALPINE-CVE-2021-32687","UBUNTU-CVE-2021-32687","DEBIAN-CVE-2021-32687"],"status":"published","duplicateOf":null,"title":null,"description":"Redis is an open source, in-memory database that persists on disk. An integer overflow bug affecting all versions of Redis can be exploited to corrupt the heap and potentially be used to leak arbitrary contents of the heap or trigger remote code execution. The vulnerability involves changing the default set-max-intset-entries configuration parameter to a very large value and constructing specially crafted commands to manipulate sets. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the set-max-intset-entries configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.","dates":{"published":"2021-10-04T17:55:10.000Z","modified":"2024-08-03T23:25:31.090Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/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":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":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","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":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","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":4.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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":"2.0","versionLabel":"v2.0","source":"NVD","score":6,"severity":"medium","vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.04092,"percentile":0.90621,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.034,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.04126},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04126,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04126,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04126,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04126,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04126,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04126,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04126,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04092,"percentile":0.90621}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.04126,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04126,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.04092,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.04092,"percentile":0.90621}]},"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-680","name":"Integer Overflow to Buffer Overflow","description":"The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.","type":"weakness","status":"Draft","abstraction":"Compound","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/680.html"}],"affected":[{"vendor":"alpine","product":"redis","name":"redis","label":"redis","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/redis","purlType":"apk","versions":[{"text":"≥ 5.0.0, < 5.0.14-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 6.0.16-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 6.2.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.0.0, < 5.0.14-r0 | ≥ 5.0.0, < 6.0.16-r0 | ≥ 5.0.0, < 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":"< 5.0.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 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":"< 5.0.14 | ≥ 5.0.0, < 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-m3mf-8x9w-r27q","label":"github.com/redis/redis/security/advisories/GHSA-m3mf-8x9w-r27q","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Third Party Advisory"]},{"url":"https://github.com/redis/redis/commit/a30d367a71b7017581cf1ca104242a3c644dec0f","label":"github.com/redis/redis/commit/a30d367a71b7017581cf1ca104242a3c644dec0f","hostname":"github.com","tags":["X Refsource MISC","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.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-32687","label":"security.alpinelinux.org/vuln/CVE-2021-32687","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-32687","label":"ubuntu.com/security/CVE-2021-32687","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-32687","label":"www.cve.org/CVERecord?id=CVE-2021-32687","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-32687","label":"security-tracker.debian.org/tracker/CVE-2021-32687","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32687","label":"nvd.nist.gov/vuln/detail/CVE-2021-32687","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:55:10.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T23:25:31.090Z","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-20T02:27:12.360Z","stale":false,"partial":false}}