{"id":"CVE-2022-31144","state":"PUBLISHED","title":"Potential heap overflow in Redis","description":"Redis is an in-memory database that persists on disk. A specially crafted `XAUTOCLAIM` command on a stream key in a specific state may result with heap overflow, and potentially remote code execution. This problem affects versions on the 7.x branch prior to 7.0.4. The patch is released in version 7.0.4.","publishedAt":"2022-07-19T20:15:13.000Z","updatedAt":"2025-04-23T17:58:05.076Z","severity":{"score":7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["redis redis"],"affected":[{"vendor":"redis","product":"redis","versions":[{"version":">= 7.0.0, < 7.0.4","status":"affected"}]}],"references":["https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh","https://github.com/redis/redis/releases/tag/7.0.4","https://security.netapp.com/advisory/ntap-20220909-0002/","https://security.gentoo.org/glsa/202209-17"],"weaknesses":["CWE-122"],"ingestedAt":"2026-10-29T19:50:06.617Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/31xxx/CVE-2022-31144.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-31144","state":"PUBLISHED","datePublished":"2022-07-19T20:15:13.000Z","dateUpdated":"2025-04-23T17:58:05.076Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-05-18T00:00:00.000Z"},"containers":{"cna":{"title":"Potential heap overflow in Redis ","descriptions":[{"lang":"en","value":"Redis is an in-memory database that persists on disk. A specially crafted `XAUTOCLAIM` command on a stream key in a specific state may result with heap overflow, and potentially remote code execution. This problem affects versions on the 7.x branch prior to 7.0.4. The patch is released in version 7.0.4."}],"affected":[{"vendor":"redis","product":"redis","versions":[{"version":">= 7.0.0, < 7.0.4","status":"affected"}]}],"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/redis/redis/releases/tag/7.0.4","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220909-0002/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202209-17","name":"GLSA-202209-17","tags":["vendor-advisory","x_refsource_GENTOO"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2022-09-29T16:07:38.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-96f7-42fg-2jrh","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-31144","STATE":"PUBLIC","TITLE":"Potential heap overflow in Redis "},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"redis","version":{"version_data":[{"version_value":">= 7.0.0, < 7.0.4"}]}}]},"vendor_name":"redis"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Redis is an in-memory database that persists on disk. A specially crafted `XAUTOCLAIM` command on a stream key in a specific state may result with heap overflow, and potentially remote code execution. This problem affects versions on the 7.x branch prior to 7.0.4. The patch is released in version 7.0.4."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/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-122: Heap-based Buffer Overflow"}]}]},"references":{"reference_data":[{"name":"https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh","refsource":"CONFIRM","url":"https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh"},{"name":"https://github.com/redis/redis/releases/tag/7.0.4","refsource":"MISC","url":"https://github.com/redis/redis/releases/tag/7.0.4"},{"name":"https://security.netapp.com/advisory/ntap-20220909-0002/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20220909-0002/"},{"name":"GLSA-202209-17","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202209-17"}]},"source":{"advisory":"GHSA-96f7-42fg-2jrh","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/redis/redis/releases/tag/7.0.4","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20220909-0002/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202209-17","name":"GLSA-202209-17","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T07:11:39.659Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T15:51:18.450139Z","id":"CVE-2022-31144","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T17:58:05.076Z"}}]}}}