{"schemaVersion":3,"id":"CVE-2021-29477","aliases":["ALPINE-CVE-2021-29477","RHSA-2021:2034","DEBIAN-CVE-2021-29477"],"status":"published","duplicateOf":null,"title":null,"description":"Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. An integer overflow bug in Redis version 6.0 or newer could be exploited using the `STRALGO LCS` command to corrupt the heap and potentially result with remote code execution. The problem is fixed in version 6.2.3 and 6.0.13. An additional workaround to mitigate the problem without patching the redis-server executable is to use ACL configuration to prevent clients from using the `STRALGO LCS` command.","dates":{"published":"2021-05-04T15:15:17.000Z","modified":"2024-08-03T22:11:05.499Z","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 · Red hat","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.03997,"percentile":0.90417,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.19400000000000042,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.04191},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04028,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03997,"percentile":0.90417}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04191,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04028,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03997,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03997,"percentile":0.90417}]},"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"}],"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.13-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.0.13-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.13-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5:6.0.13-1","eol":null,"hubHref":null},{"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}],"versionsText":"33 | 34","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":"redis","product":"redis","name":"redis","label":"redis","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.2.0, < 6.2.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.0.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.2.0, < 6.2.3 | ≥ 6.0.0, < 6.0.13","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"redis","label":"Redis","category":"database"}},"hubHref":"/vendor/redis/redis"},{"vendor":"redislabs","product":"redis","name":"redis","label":"redis","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, < 6.0.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2.0, < 6.2.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.0.13 | ≥ 6.2.0, < 6.2.3","eol":null,"hubHref":"/vendor/redislabs/redis"},{"vendor":"redhat","product":"redis","name":"redis","label":"redis","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/redis","purlType":"rpm","versions":[{"text":"< 0:6.0.9-3.module+el8.4.0+10984+ed187465","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:6.0.9-3.module+el8.4.0+10984+ed187465","eol":null,"hubHref":null},{"vendor":"redhat","product":"redis-debuginfo","name":"redis-debuginfo","label":"redis-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/redis-debuginfo","purlType":"rpm","versions":[{"text":"< 0:6.0.9-3.module+el8.4.0+10984+ed187465","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:6.0.9-3.module+el8.4.0+10984+ed187465","eol":null,"hubHref":null},{"vendor":"redhat","product":"redis-debugsource","name":"redis-debugsource","label":"redis-debugsource","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/redis-debugsource","purlType":"rpm","versions":[{"text":"< 0:6.0.9-3.module+el8.4.0+10984+ed187465","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:6.0.9-3.module+el8.4.0+10984+ed187465","eol":null,"hubHref":null},{"vendor":"redhat","product":"redis-devel","name":"redis-devel","label":"redis-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/redis-devel","purlType":"rpm","versions":[{"text":"< 0:6.0.9-3.module+el8.4.0+10984+ed187465","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:6.0.9-3.module+el8.4.0+10984+ed187465","eol":null,"hubHref":null},{"vendor":"redhat","product":"redis-doc","name":"redis-doc","label":"redis-doc","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/redis-doc","purlType":"rpm","versions":[{"text":"< 0:6.0.9-3.module+el8.4.0+10984+ed187465","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:6.0.9-3.module+el8.4.0+10984+ed187465","eol":null,"hubHref":null}],"affectedCount":10,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-vqxj-26vj-996g","label":"github.com/redis/redis/security/advisories/GHSA-vqxj-26vj-996g","hostname":"github.com","tags":["X Refsource CONFIRM","ARTICLE","Third Party Advisory"]},{"url":"https://redis.io/","label":"redis.io","hostname":"redis.io","tags":["X Refsource MISC","Product"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZJ6JGQ2ETZB2DWTQSGCOGG7EF3ILV4V/","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/BPWBIZXA67JFIB63W2CNVVILCGIC2ME5/","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/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/","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/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://security.gentoo.org/glsa/202107-20","label":"security.gentoo.org/glsa/202107-20","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-29477","label":"security.alpinelinux.org/vuln/CVE-2021-29477","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2021:2034","label":"access.redhat.com/errata/RHSA-2021:2034","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1957410","label":"bugzilla.redhat.com/show_bug.cgi?id=1957410","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_2034.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_2034.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-29477","label":"access.redhat.com/security/cve/CVE-2021-29477","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-29477","label":"www.cve.org/CVERecord?id=CVE-2021-29477","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29477","label":"nvd.nist.gov/vuln/detail/CVE-2021-29477","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-29477","label":"security-tracker.debian.org/tracker/CVE-2021-29477","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2021-0373","OPENSUSE-SU-2021:0682-1","OPENSUSE-SU-2024:11299-1","SUSE-SU-2021:1652-1"],"duplicates":[],"related":["OPENSUSE-SU-2021:0682-1","OPENSUSE-SU-2024:11299-1","SUSE-SU-2021:1652-1"]},"timeline":[{"kind":"published","date":"2021-05-04T15:15:17.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T22:11:05.499Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":36,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:39:23.578Z","stale":false,"partial":false}}