{"api_version":"1","generated_at":"2026-04-23T08:15:01+00:00","cve":"CVE-2021-29477","urls":{"html":"https://cve.report/CVE-2021-29477","api":"https://cve.report/api/cve/CVE-2021-29477.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-29477","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-29477"},"summary":{"title":"CVE-2021-29477","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-05-04 16:15:00","updated_at":"2023-11-07 03:32:00"},"problem_types":["CWE-190"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/","name":"FEDORA-2021-916f861096","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: redis-6.2.4-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://redis.io/","name":"https://redis.io/","refsource":"MISC","tags":[],"title":"Redis","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPWBIZXA67JFIB63W2CNVVILCGIC2ME5/","name":"FEDORA-2021-8b19c99d6a","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: redis-6.0.13-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/redis/redis/security/advisories/GHSA-vqxj-26vj-996g","name":"https://github.com/redis/redis/security/advisories/GHSA-vqxj-26vj-996g","refsource":"CONFIRM","tags":[],"title":"Vulnerability in the STRALGO LCS command · Advisory · redis/redis · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/","name":"FEDORA-2021-0ad4bec5b1","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: redis-6.0.14-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPWBIZXA67JFIB63W2CNVVILCGIC2ME5/","name":"FEDORA-2021-8b19c99d6a","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: redis-6.0.13-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/","name":"FEDORA-2021-916f861096","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: redis-6.2.4-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZJ6JGQ2ETZB2DWTQSGCOGG7EF3ILV4V/","name":"FEDORA-2021-3b267a756c","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: redis-6.2.3-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EZJ6JGQ2ETZB2DWTQSGCOGG7EF3ILV4V/","name":"FEDORA-2021-3b267a756c","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: redis-6.2.3-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202107-20","name":"GLSA-202107-20","refsource":"GENTOO","tags":[],"title":"Redis: Multiple vulnerabilities (GLSA 202107-20) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/","name":"FEDORA-2021-0ad4bec5b1","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: redis-6.0.14-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-29477","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29477","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"29477","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29477","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29477","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redislabs","cpe5":"redis","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-29477","qid":"159233","title":"Oracle Enterprise Linux Security Update for redis:6 (ELSA-2021-2034)"},{"cve":"CVE-2021-29477","qid":"180572","title":"Debian Security Update for redis (CVE-2021-29477)"},{"cve":"CVE-2021-29477","qid":"239356","title":"Red Hat Update for redis:6 (RHSA-2021:2034)"},{"cve":"CVE-2021-29477","qid":"281198","title":"Fedora Security Update for redis (FEDORA-2021-8b19c99d6a)"},{"cve":"CVE-2021-29477","qid":"281199","title":"Fedora Security Update for redis (FEDORA-2021-3b267a756c)"},{"cve":"CVE-2021-29477","qid":"281625","title":"Fedora Security Update for redis (FEDORA-2021-916f861096)"},{"cve":"CVE-2021-29477","qid":"281626","title":"Fedora Security Update for redis (FEDORA-2021-0ad4bec5b1)"},{"cve":"CVE-2021-29477","qid":"356192","title":"Amazon Linux Security Advisory for redis : ALASREDIS6-2023-008"},{"cve":"CVE-2021-29477","qid":"356470","title":"Amazon Linux Security Advisory for redis : ALAS2REDIS6-2023-008"},{"cve":"CVE-2021-29477","qid":"501482","title":"Alpine Linux Security Update for redis"},{"cve":"CVE-2021-29477","qid":"502979","title":"Alpine Linux Security Update for redis"},{"cve":"CVE-2021-29477","qid":"690152","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for redis (1606b03b-ac57-11eb-9bdd-8c164567ca3c)"},{"cve":"CVE-2021-29477","qid":"710056","title":"Gentoo Linux Redis Multiple vulnerabilities (GLSA 202107-20)"},{"cve":"CVE-2021-29477","qid":"750019","title":"SUSE Enterprise Linux Security Update for redis (SUSE-SU-2021:1652-1)"},{"cve":"CVE-2021-29477","qid":"750226","title":"OpenSUSE Security Update for redis (openSUSE-SU-2021:0682-1)"},{"cve":"CVE-2021-29477","qid":"940319","title":"AlmaLinux Security Update for redis:6 (ALSA-2021:2034)"},{"cve":"CVE-2021-29477","qid":"960078","title":"Rocky Linux Security Update for redis:6 (RLSA-2021:2034)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-29477","STATE":"PUBLIC","TITLE":"Vulnerability in the STRALGO LCS command"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"redis","version":{"version_data":[{"version_value":">= 6.2.0, < 6.2.3"},{"version_value":">= 6.0.0, < 6.0.13"}]}}]},"vendor_name":"redis"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-190 Integer Overflow or Wraparound"}]}]},"references":{"reference_data":[{"name":"https://github.com/redis/redis/security/advisories/GHSA-vqxj-26vj-996g","refsource":"CONFIRM","url":"https://github.com/redis/redis/security/advisories/GHSA-vqxj-26vj-996g"},{"name":"https://redis.io/","refsource":"MISC","url":"https://redis.io/"},{"refsource":"FEDORA","name":"FEDORA-2021-3b267a756c","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EZJ6JGQ2ETZB2DWTQSGCOGG7EF3ILV4V/"},{"refsource":"FEDORA","name":"FEDORA-2021-8b19c99d6a","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BPWBIZXA67JFIB63W2CNVVILCGIC2ME5/"},{"refsource":"FEDORA","name":"FEDORA-2021-916f861096","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/"},{"refsource":"FEDORA","name":"FEDORA-2021-0ad4bec5b1","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/"},{"refsource":"GENTOO","name":"GLSA-202107-20","url":"https://security.gentoo.org/glsa/202107-20"}]},"source":{"advisory":"GHSA-vqxj-26vj-996g","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-05-04 16:15:00","lastModifiedDate":"2023-11-07 03:32:00","problem_types":["CWE-190"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redislabs:redis:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0.0","versionEndExcluding":"6.0.13","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redislabs:redis:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2.0","versionEndExcluding":"6.2.3","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"29477","Ordinal":"204681","Title":"CVE-2021-29477","CVE":"CVE-2021-29477","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"29477","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"29477","Ordinal":"2","NoteData":"2021-05-04","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"29477","Ordinal":"3","NoteData":"2021-07-09","Type":"Other","Title":"Modified"}]}}}