{"id":"CVE-2022-36021","state":"PUBLISHED","title":"Redis string pattern matching can be abused to achieve Denial of Service","description":"Redis is an in-memory database that persists on disk. Authenticated users can use string matching commands (like `SCAN` or `KEYS`) with a specially crafted pattern to trigger a denial-of-service attack on Redis, causing it to hang and consume 100% CPU time. The problem is fixed in Redis versions 6.0.18, 6.2.11, 7.0.9.\n","publishedAt":"2023-03-01T15:46:23.567Z","updatedAt":"2025-03-07T21:05:01.416Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["redis redis"],"affected":[{"vendor":"redis","product":"redis","versions":[{"version":"< 6.0.18","status":"affected"},{"version":">= 6.2.0, < 6.2.11","status":"affected"},{"version":">= 7.0.0, < 7.0.9","status":"affected"}]}],"references":["https://github.com/redis/redis/security/advisories/GHSA-jr7j-rfj5-8xqv","https://github.com/redis/redis/commit/dcbfcb916ca1a269b3feef86ee86835294758f84"],"weaknesses":["CWE-407"],"ingestedAt":"2026-10-29T19:50:21.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/36xxx/CVE-2022-36021.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-36021","state":"PUBLISHED","datePublished":"2023-03-01T15:46:23.567Z","dateUpdated":"2025-03-07T21:05:01.416Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-07-15T23:52:24.301Z"},"containers":{"cna":{"title":"Redis string pattern matching can be abused to achieve Denial of Service","descriptions":[{"lang":"en","value":"Redis is an in-memory database that persists on disk. Authenticated users can use string matching commands (like `SCAN` or `KEYS`) with a specially crafted pattern to trigger a denial-of-service attack on Redis, causing it to hang and consume 100% CPU time. The problem is fixed in Redis versions 6.0.18, 6.2.11, 7.0.9.\n"}],"affected":[{"vendor":"redis","product":"redis","versions":[{"version":"< 6.0.18","status":"affected"},{"version":">= 6.2.0, < 6.2.11","status":"affected"},{"version":">= 7.0.0, < 7.0.9","status":"affected"}]}],"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-jr7j-rfj5-8xqv","name":"https://github.com/redis/redis/security/advisories/GHSA-jr7j-rfj5-8xqv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/redis/redis/commit/dcbfcb916ca1a269b3feef86ee86835294758f84","name":"https://github.com/redis/redis/commit/dcbfcb916ca1a269b3feef86ee86835294758f84","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-407","lang":"en","description":"CWE-407: Inefficient Algorithmic Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-03-01T15:46:23.567Z"},"source":{"advisory":"GHSA-jr7j-rfj5-8xqv","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-jr7j-rfj5-8xqv","name":"https://github.com/redis/redis/security/advisories/GHSA-jr7j-rfj5-8xqv","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/redis/redis/commit/dcbfcb916ca1a269b3feef86ee86835294758f84","name":"https://github.com/redis/redis/commit/dcbfcb916ca1a269b3feef86ee86835294758f84","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T09:51:59.947Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-07T21:03:10.863206Z","id":"CVE-2022-36021","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-07T21:05:01.416Z"}}]}}}