{"answers":{"affected":"3 open source packages ship an affected version, including redis, keydb and valkey. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-31144 in the wild and no public exploit code.","fix":"Upgrade redis to 7.0.4 or later.","what":"CVE-2022-31144 is a high-severity vulnerability in redis, published on 19 Jul 2022."},"fix_prompt":"Check this codebase for CVE-2022-31144 and fix it if it is affected.\n\nWhat it is: CVE-2022-31144 is a high-severity vulnerability in redis, published on 19 Jul 2022. \nExploitation: There is no known exploitation of CVE-2022-31144 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- redis (Bitnami): affected from 7.0.0; fixed in 7.0.4\n- keydb (Bitnami): affected from 7.0.0; fixed in 7.0.4\n- valkey (Bitnami): affected from 7.0.0; fixed in 7.0.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-31144/ (Markdown: https://insights.sbomify.com/CVE-2022-31144/index.md)","id":"CVE-2022-31144","markdown":"https://insights.sbomify.com/CVE-2022-31144/index.md","name":"CVE-2022-31144","record":{"aliases":["ALPINE-CVE-2022-31144","BIT-keydb-2022-31144","BIT-redis-2022-31144","BIT-valkey-2022-31144","CLEANSTART-2026-XS03344","DEBIAN-CVE-2022-31144","GHSA-96f7-42fg-2jrh","openSUSE-SU-2024:12217-1"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"redis","vendor":"redis"}],"cvss":{"score":7,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"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.","ecosystems":["Bitnami","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2023-02-03","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-02-03T08:40:38Z","kind":"github_poc","ref":"https://github.com/SpiralBL0CK/CVE-2022-31144","stars":1,"title":"CVE-2022-31144 dos pt redis, not finished yet or too soon, this can be turned into rce but oh well if you smart enough"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Potential heap overflow in Redis","id":"CVE-2022-31144","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":null,"year":"2022"},"n_packages":4,"n_references":4,"next":{"headline":"Insufficient AccessToken Expiration Check in FlyteAdmin","id":"CVE-2022-31145"},"packages":[{"ecosystem":"Bitnami","fixed":["7.0.4"],"introduced":["7.0.0"],"last_affected":[],"package":"keydb","purl":"pkg:bitnami/keydb","source":"BIT-keydb-2022-31144"},{"ecosystem":"Bitnami","fixed":["7.0.4"],"introduced":["7.0.0"],"last_affected":[],"package":"redis","purl":"pkg:bitnami/redis","source":"BIT-redis-2022-31144"},{"ecosystem":"Bitnami","fixed":["7.0.4"],"introduced":["7.0.0"],"last_affected":[],"package":"valkey","purl":"pkg:bitnami/valkey","source":"BIT-valkey-2022-31144"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["7.0.4-1.1"],"introduced":["0"],"last_affected":[],"package":"redis","purl":"pkg:rpm/opensuse/redis\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12217-1"}],"prev":{"headline":"Leak of sensitive information through login page error in GLPI","id":"CVE-2022-31143"},"products":["redis"],"published":"2022-07-19","related":[{"cvss_score":10,"headline":"Debian-specific Redis Server Lua Sandbox Escape","id":"CVE-2022-0543","kev_date_added":"2022-03-28","published":"2022-02-18"},{"cvss_score":7.7,"headline":"redis-server use-after-free in unblock client flow may allow remote code execution","id":"CVE-2026-23479","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":7.7,"headline":"redis-server RESTORE invalid memory access may allow remote code execution","id":"CVE-2026-25243","kev_date_added":null,"published":"2026-05-05"},{"cvss_score":7.7,"headline":"Redis: Bug in XACKDEL may lead to stack overflow and potential RCE","id":"CVE-2025-62507","kev_date_added":null,"published":"2025-11-04"},{"cvss_score":7.5,"headline":"Redis DoS Vulnerability due to bad connection error handling","id":"CVE-2025-48367","kev_date_added":null,"published":"2025-07-07"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2023-31655","kev_date_added":null,"published":"2023-05-18"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2022-33105","kev_date_added":null,"published":"2022-06-22"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["redis"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2022-31144/"}