{"schemaVersion":3,"id":"CVE-2022-24834","aliases":["ALPINE-CVE-2022-24834","MGASA-2023-0246","SUSE-SU-2023:2924-1","UBUNTU-CVE-2022-24834","DEBIAN-CVE-2022-24834"],"status":"published","duplicateOf":null,"title":null,"description":"Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.","dates":{"published":"2023-07-13T14:35:41.181Z","modified":"2025-02-13T16:32:24.785Z","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":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 · 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.41143,"percentile":0.98655,"severity":"high","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.26599999999999957,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.41409},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.41409,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.41409,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.41409,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.41409,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.41409,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.41409,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.41409,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.41143,"percentile":0.98655}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.41409,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.41409,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.41143,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.41143,"percentile":0.98655}]},"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-680","name":"Integer Overflow to Buffer Overflow","description":"The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.","type":"weakness","status":"Draft","abstraction":"Compound","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/680.html"}],"affected":[{"vendor":"alpine","product":"redis","name":"redis","label":"redis","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/redis","purlType":"apk","versions":[{"text":"≥ 2.6.0, < 7.0.12-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.6.0, < 7.0.12-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.15-1~deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 5:7.0.12-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5:7.0.15-1~deb12u1 | < 5:7.0.12-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"lua-cjson","name":"lua-cjson","label":"lua-cjson","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/lua-cjson","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.1.0+dfsg-2.1ubuntu0.20.04.1~esm2 | < 2.1.0+dfsg-2.1ubuntu0.22.04.1~esm2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"lua-cmsgpack","name":"lua-cmsgpack","label":"lua-cmsgpack","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/lua-cmsgpack","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","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":"< 2:2.8.4-2ubuntu0.2+esm3","noFixRecorded":false,"fixedIn":null},{"text":"< 2:3.0.6-1ubuntu0.4+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 5:4.0.9-1ubuntu0.2+esm4","noFixRecorded":false,"fixedIn":null},{"text":"< 5:5.0.7-2ubuntu0.1+esm2","noFixRecorded":false,"fixedIn":null},{"text":"< 5:6.0.16-1ubuntu1+esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:2.8.4-2ubuntu0.2+esm3 | < 2:3.0.6-1ubuntu0.4+esm2 | < 5:4.0.9-1ubuntu0.2+esm4 | < 5:5.0.7-2ubuntu0.1+esm2 | < 5:6.0.16-1ubuntu1+esm1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"37","noFixRecorded":false,"fixedIn":null},{"text":"38","noFixRecorded":false,"fixedIn":null}],"versionsText":"37 | 38","eol":{"isEol":true,"eolDate":"2023-12-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"37","label":"37","eolFrom":"2023-12-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"mageia","product":"redis","name":"redis","label":"redis","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/redis","purlType":"rpm","versions":[{"text":"< 6.0.20-1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.20-1.mga8","eol":null,"hubHref":null},{"vendor":"redis","product":"redis","name":"redis","label":"redis","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 6.0.0, < 6.0.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.6.0, < 6.0.20","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2.0, < 6.2.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 6.0.0, < 6.0.20 | ≥ 2.6.0, < 6.0.20 | ≥ 6.2.0, < 6.2.13 | ≥ 7.0.0, < 7.0.12","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 Leap 15.4","name":"redis","label":"redis&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/redis&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 6.2.6-150400.3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.2.6-150400.3.22.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"redis&distro=openSUSE Leap 15.5","name":"redis","label":"redis&distro=openSUSE Leap 15.5","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/redis&distro=openSUSE Leap 15.5","purlType":"rpm","versions":[{"text":"< 6.2.6-150400.3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.2.6-150400.3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"redis&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","name":"redis","label":"redis&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/redis&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4","purlType":"rpm","versions":[{"text":"< 6.2.6-150400.3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.2.6-150400.3.22.1","eol":null,"hubHref":null},{"vendor":"suse","product":"redis&distro=SUSE Linux Enterprise Module for Server Applications 15 SP5","name":"redis","label":"redis&distro=SUSE Linux Enterprise Module for Server Applications 15 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/redis&distro=SUSE Linux Enterprise Module for Server Applications 15 SP5","purlType":"rpm","versions":[{"text":"< 6.2.6-150400.3.22.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.2.6-150400.3.22.1","eol":null,"hubHref":null}],"affectedCount":12,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838","label":"github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230814-0006/","label":"security.netapp.com/advisory/ntap-20230814-0006/","hostname":"security.netapp.com","tags":[]},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-24834","label":"security.alpinelinux.org/vuln/CVE-2022-24834","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0246.html","label":"advisories.mageia.org/MGASA-2023-0246.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=32103","label":"bugs.mageia.org/show_bug.cgi?id=32103","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://github.com/redis/redis/releases/tag/6.0.20","label":"github.com/redis/redis/releases/tag/6.0.20","hostname":"github.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2023/suse-su-20232924-1/","label":"www.suse.com/support/update/announcement/2023/suse-su-20232924-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1213193","label":"bugzilla.suse.com/1213193","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2022-24834","label":"www.suse.com/security/cve/CVE-2022-24834","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-24834","label":"ubuntu.com/security/CVE-2022-24834","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://raw.githubusercontent.com/redis/redis/7.0/00-RELEASENOTES","label":"raw.githubusercontent.com/redis/redis/7.0/00-RELEASENOTES","hostname":"raw.githubusercontent.com","tags":["REPORT"]},{"url":"https://github.com/redis/redis/commit/936cfa464f371666c46bff59f7c4247d48973ec6","label":"github.com/redis/redis/commit/936cfa464f371666c46bff59f7c4247d48973ec6","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/redis/redis/commit/f6a7c9f9ec9354702cc3143310a24bf3d1507b03","label":"github.com/redis/redis/commit/f6a7c9f9ec9354702cc3143310a24bf3d1507b03","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/redis/redis/pull/12398","label":"github.com/redis/redis/pull/12398","hostname":"github.com","tags":["REPORT"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-24834","label":"access.redhat.com/security/cve/CVE-2022-24834","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6531-1","label":"ubuntu.com/security/notices/USN-6531-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24834","label":"www.cve.org/CVERecord?id=CVE-2022-24834","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8169-1","label":"ubuntu.com/security/notices/USN-8169-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-24834","label":"security-tracker.debian.org/tracker/CVE-2022-24834","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24834","label":"nvd.nist.gov/vuln/detail/CVE-2022-24834","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3885-1","DSA-5610-1","OPENSUSE-SU-2024:13047-1","RHSA-2025:0595","RHSA-2025:0693","SUSE-SU-2023:2925-1","SUSE-SU-2023:3407-1","USN-6531-1"],"duplicates":[],"related":["CGA-QPG3-PV4H-HJ8R","OPENSUSE-SU-2024:13047-1","SUSE-SU-2023:2925-1","SUSE-SU-2023:3407-1","USN-6531-1","USN-8169-1"]},"timeline":[{"kind":"published","date":"2023-07-13T14:35:41.181Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T16:32:24.785Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T17:54:35.545Z","stale":false,"partial":false}}