{"answers":{"affected":"1 open source package ship an affected version, including redis. It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2022-0543 in the wild since at least 28 Mar 2022.","fix":"Apply the vendor's patch. US federal agencies must fix it by 18 Apr 2022.","what":"CVE-2022-0543 is a critical code injection vulnerability in Debian redis, published on 18 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-0543 and fix it if it is affected.\n\nWhat it is: CVE-2022-0543 is a critical code injection vulnerability in Debian redis, published on 18 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2022-0543 in the wild since at least 28 Mar 2022.\n\nAffected packages and fixed versions:\n- redis (Bitnami): affected all versions; no fix listed\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-0543/ (Markdown: https://insights.sbomify.com/CVE-2022-0543/index.md)","id":"CVE-2022-0543","markdown":"https://insights.sbomify.com/CVE-2022-0543/index.md","name":"CVE-2022-0543","record":{"aliases":["BIT-redis-2022-0543","DEBIAN-CVE-2022-0543","DSA-5081-1","GHSA-9wpj-h5jq-88p9","MINI-2548-6x3j-m4rj","MINI-3358-fff2-24q5","MINI-53vf-pf36-p7q7","MINI-9rcq-pp58-hxxq","MINI-gjcc-8c66-x7p3","MINI-j566-xx65-hhwh","MINI-p5hh-7xxm-gc53","MINI-pxc2-p9hp-qpmv","MINI-vvxx-gh4m-rr8m","UBUNTU-CVE-2022-0543","USN-5316-1"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Redis database","requires_auth":"none","summary":"A Debian-specific packaging issue in Redis allows attackers to escape the Lua sandbox and execute arbitrary code remotely.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"debian","cpe":[{"product":"redis","vendor":"redis"}],"cvss":{"score":10,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"description":"It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escape, which could result in remote code execution.","ecosystems":["Bitnami"],"exploits":{"exploitdb":0,"first_seen":"2022-02-18","github_poc":6,"max_poc_stars":95,"metasploit":1,"nuclei":1,"refs":[{"date":"2022-03-16T06:41:50Z","kind":"github_poc","ref":"https://github.com/0x7eTeam/CVE-2022-0543","stars":95,"title":"CVE-2022-0543_RCE,Redis Lua沙盒绕过 命令执行"},{"date":"2022-07-06T04:35:59Z","kind":"github_poc","ref":"https://github.com/z92g/CVE-2022-0543","stars":23,"title":"Redis 沙盒逃逸（CVE-2022-0543）POC\u0026EXP"},{"date":"2023-05-10T05:05:31Z","kind":"github_poc","ref":"https://github.com/SiennaSkies/redisHack","stars":3,"title":"redis未授权、redis_CVE-2022-0543检测利用二合一脚本"},{"date":"2022-09-05T16:25:49Z","kind":"github_poc","ref":"https://github.com/fulxey/CVE-2022-0543","stars":2,"title":"Redis RCE through Lua Sandbox Escape vulnerability"},{"date":"2022-02-18","kind":"metasploit","ref":"exploit/linux/redis/redis_debian_sandbox_escape","stars":null,"title":"Redis Lua Sandbox Escape"},{"date":"2025-11-18T06:35:45Z","kind":"github_poc","ref":"https://github.com/netw0rk7/CVE-2022-0543-Home-Lab","stars":0,"title":"CVE-2022-0543 - Redis RCE Vulnerability home lab for Red Teaming, Penetration Testing Training with just one DOCKER"},{"date":"2026-10-08T21:45:02Z","kind":"github_poc","ref":"https://github.com/CyberCTF/vulhub-redis-cve-2022-0543","stars":0,"title":"Vulhub redis/CVE-2022-0543: Redis Lua Sandbox Escape (CVE-2022-0543), run with Isoloom"},{"date":null,"kind":"nuclei","ref":"network/cves/2022/CVE-2022-0543.yaml","stars":null,"title":"Redis Sandbox Escape - Remote Code Execution"}],"tier":"exploited"},"has_fix":true,"headline":"Debian-specific Redis Server Lua Sandbox Escape","id":"CVE-2022-0543","indexable":true,"kev":{"dateAdded":"2022-03-28","dueDate":"2022-04-18","knownRansomwareCampaignUse":"Unknown","product":"Debian-specific Redis Servers","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Redis","vulnerabilityName":"Debian-specific Redis Server Lua Sandbox Escape Vulnerability"},"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"code_injection","year":"2022"},"n_packages":1,"n_references":6,"next":{"headline":"Integer overflow in Blender","id":"CVE-2022-0544"},"packages":[{"ecosystem":"Bitnami","fixed":[],"introduced":[],"last_affected":[],"package":"redis","purl":"pkg:bitnami/redis","source":"BIT-redis-2022-0543"}],"prev":{"headline":"Cross-site Scripting (XSS) - DOM in chatwoot/chatwoot","id":"CVE-2022-0542"},"products":["redis"],"published":"2022-02-18","related":[{"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":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-10-21","vendors":["Debian"]},"summary":"A Debian-specific packaging issue in Redis allows attackers to escape the Lua sandbox and execute arbitrary code remotely.","url":"https://insights.sbomify.com/CVE-2022-0543/"}