{"schemaVersion":3,"id":"CVE-2022-31144","aliases":["ALPINE-CVE-2022-31144","UBUNTU-CVE-2022-31144","DEBIAN-CVE-2022-31144","openSUSE-SU-2024:12217-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-07-19T20:15:13.000Z","modified":"2025-04-23T17:58:05.076Z","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,"severity":"high","vector":"CVSS:3.1/AV:L/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 · Ubuntu","score":7,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":2.6,"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}]},"epss":{"probability":0.03241,"percentile":0.88122,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.021999999999999797,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03219},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03219,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03219,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03219,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03219,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03219,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03219,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03219,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03241,"percentile":0.88122}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03219,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03219,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03193,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03241,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03241,"percentile":0.88122}]},"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-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"},{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"redis","name":"redis","label":"redis","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/redis","purlType":"apk","versions":[{"text":"≥ 7.0, < 7.0.4-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0, < 7.0.4-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:7.0.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5:7.0.4-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":"< 5:7.0.12-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5:7.0.12-1","eol":null,"hubHref":null},{"vendor":"redis","product":"redis","name":"redis","label":"redis","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.0.0, < 7.0.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0, < 7.0.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.0.0, < 7.0.4 | ≥ 7.0, < 7.0.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"redis","label":"Redis","category":"database"}},"hubHref":"/vendor/redis/redis"},{"vendor":"opensuse","product":"redis&distro=openSUSE Tumbleweed","name":"redis","label":"redis&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/redis&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 7.0.4-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.4-1.1","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh","label":"github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Third Party Advisory"]},{"url":"https://github.com/redis/redis/releases/tag/7.0.4","label":"github.com/redis/redis/releases/tag/7.0.4","hostname":"github.com","tags":["X Refsource MISC","REPORT","Release Notes","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220909-0002/","label":"security.netapp.com/advisory/ntap-20220909-0002/","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-2022-31144","label":"security.alpinelinux.org/vuln/CVE-2022-31144","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-31144","label":"ubuntu.com/security/CVE-2022-31144","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31144","label":"www.cve.org/CVERecord?id=CVE-2022-31144","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-31144","label":"security-tracker.debian.org/tracker/CVE-2022-31144","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2022-31144","label":"www.suse.com/security/cve/CVE-2022-31144","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31144","label":"nvd.nist.gov/vuln/detail/CVE-2022-31144","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-07-19T20:15:13.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-23T17:58:05.076Z","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-20T05:20:00.783Z","stale":false,"partial":false}}