{"schemaVersion":3,"id":"CVE-2022-24735","aliases":["ALPINE-CVE-2022-24735","UBUNTU-CVE-2022-24735","DEBIAN-CVE-2022-24735"],"status":"published","duplicateOf":null,"title":null,"description":"Redis is an in-memory database that persists on disk. By exploiting weaknesses in the Lua script execution environment, an attacker with access to Redis prior to version 7.0.0 or 6.2.7 can inject Lua code that will execute with the (potentially higher) privileges of another Redis user. The Lua script execution environment in Redis provides some measures that prevent a script from creating side effects that persist and can affect the execution of the same, or different script, at a later time. Several weaknesses of these measures have been publicly known for a long time, but they had no security impact as the Redis security model did not endorse the concept of users or privileges. With the introduction of ACLs in Redis 6.0, these weaknesses can be exploited by a less privileged users to inject Lua code that will execute at a later time, when a privileged user executes a Lua script. The problem is fixed in Redis versions 7.0.0 and 6.2.7. An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to `SCRIPT LOAD` and `EVAL` commands using ACL rules.","dates":{"published":"2022-04-27T19:43:27.000Z","modified":"2025-04-22T18:02:46.190Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.9,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02264,"percentile":0.82764,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.02264},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02264,"percentile":0.82764}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02264,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02264,"percentile":0.82764}]},"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":[{"id":"GITHUB_REDIS_REDIS","name":"Redis","source":"github","url":"https://github.com/redis/redis/issues/8712","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"alpine","product":"redis","name":"redis","label":"redis","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/redis","purlType":"apk","versions":[{"text":"< 6.2.7-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.2.7-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.1-4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5:7.0.1-4","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":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null},{"text":"36","noFixRecorded":false,"fixedIn":null}],"versionsText":"34 | 35 | 36","eol":{"isEol":true,"eolDate":"2022-06-07T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"34","label":"34","eolFrom":"2022-06-07T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"netapp","product":"management_services_for_element_software","name":"management services for element software","label":"management_services_for_element_software","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/management_services_for_element_software"},{"vendor":"netapp","product":"management_services_for_netapp_hci","name":"management services for netapp hci","label":"management_services_for_netapp_hci","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/management_services_for_netapp_hci"},{"vendor":"oracle","product":"communications_operations_monitor","name":"communications operations monitor","label":"communications_operations_monitor","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.3","noFixRecorded":false,"fixedIn":null},{"text":"4.4","noFixRecorded":false,"fixedIn":null},{"text":"5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.3 | 4.4 | 5.0","eol":null,"hubHref":"/vendor/oracle/communications_operations_monitor"},{"vendor":"redis","product":"redis","name":"redis","label":"redis","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 7.0.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.2.7","noFixRecorded":false,"fixedIn":null},{"text":"< 6.2.7","noFixRecorded":false,"fixedIn":null},{"text":"7.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"7.0:rc2","noFixRecorded":false,"fixedIn":null},{"text":"7.0:rc3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.0.0 | ≥ 6.0.0, < 6.2.7 | < 6.2.7 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"redis","label":"Redis","category":"database"}},"hubHref":"/vendor/redis/redis"}],"affectedCount":8,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq","label":"github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Third Party Advisory"]},{"url":"https://github.com/redis/redis/pull/10651","label":"github.com/redis/redis/pull/10651","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Third Party Advisory"]},{"url":"https://github.com/redis/redis/releases/tag/6.2.7","label":"github.com/redis/redis/releases/tag/6.2.7","hostname":"github.com","tags":["X Refsource MISC","REPORT","Release Notes","Third Party Advisory"]},{"url":"https://github.com/redis/redis/releases/tag/7.0.0","label":"github.com/redis/redis/releases/tag/7.0.0","hostname":"github.com","tags":["X Refsource MISC","REPORT","Release Notes","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","label":"www.oracle.com/security-alerts/cpujul2022.html","hostname":"www.oracle.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220715-0003/","label":"security.netapp.com/advisory/ntap-20220715-0003/","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-24735","label":"security.alpinelinux.org/vuln/CVE-2022-24735","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-24735","label":"ubuntu.com/security/CVE-2022-24735","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24735","label":"www.cve.org/CVERecord?id=CVE-2022-24735","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-24735","label":"security-tracker.debian.org/tracker/CVE-2022-24735","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24735","label":"nvd.nist.gov/vuln/detail/CVE-2022-24735","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2022-0339","OPENSUSE-SU-2024:12030-1","RHSA-2022:7541","RHSA-2022:8096","SUSE-SU-2022:1842-1","SUSE-SU-2022:1929-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12030-1","SUSE-SU-2022:1842-1","SUSE-SU-2022:1929-1"]},"timeline":[{"kind":"published","date":"2022-04-27T19:43:27.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-22T18:02:46.190Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":42,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:37:59.068Z","stale":false,"partial":false}}