Unrated severityNVD Advisory· Published Jul 13, 2023· Updated Feb 13, 2025
Heap overflow issue with the Lua cjson library used by Redis
CVE-2022-24834
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
29- osv-coords27 versionspkg:apk/chainguard/redis-6.2.10-benchmarkpkg:apk/chainguard/redis-6.2.10-clipkg:bitnami/keydbpkg:bitnami/redispkg:bitnami/valkeypkg:rpm/almalinux/redispkg:rpm/almalinux/redis-develpkg:rpm/almalinux/redis-docpkg:rpm/opensuse/redis7&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/redis&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/redis&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/redis&distro=openSUSE%20Tumbleweedpkg:rpm/suse/redis7&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP5pkg:rpm/suse/redis&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/suse/redis&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOSpkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP4pkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP5pkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP3pkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/redis&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/redis&distro=SUSE%20Manager%20Proxy%204.2pkg:rpm/suse/redis&distro=SUSE%20Manager%20Server%204.2
< 6.2.10-r40+ 26 more
- (no CPE)range: < 6.2.10-r40
- (no CPE)range: < 6.2.10-r40
- (no CPE)range: >= 2.6.0, < 6.0.20
- (no CPE)range: >= 2.6.0, < 6.0.20
- (no CPE)range: >= 2.6.0, < 6.0.20
- (no CPE)range: < 6.2.17-1.module_el8.10.0+3946+3de613d5
- (no CPE)range: < 6.2.17-1.module_el8.10.0+3946+3de613d5
- (no CPE)range: < 6.2.17-1.module_el8.10.0+3946+3de613d5
- (no CPE)range: < 7.0.8-150500.3.3.1
- (no CPE)range: < 6.2.6-150400.3.22.1
- (no CPE)range: < 6.2.6-150400.3.22.1
- (no CPE)range: < 7.0.12-1.1
- (no CPE)range: < 7.0.8-150500.3.3.1
- (no CPE)range: < 6.0.14-150200.6.26.1
- (no CPE)range: < 6.0.14-150200.6.26.1
- (no CPE)range: < 6.0.14-150200.6.26.1
- (no CPE)range: < 6.0.14-150200.6.26.1
- (no CPE)range: < 6.0.14-150200.6.26.1
- (no CPE)range: < 6.2.6-150400.3.22.1
- (no CPE)range: < 6.2.6-150400.3.22.1
- (no CPE)range: < 6.0.14-150200.6.26.1
- (no CPE)range: < 6.0.14-150200.6.26.1
- (no CPE)range: < 6.0.14-150200.6.26.1
- (no CPE)range: < 6.0.14-150200.6.26.1
- (no CPE)range: < 6.0.14-150200.6.26.1
- (no CPE)range: < 6.0.14-150200.6.26.1
- (no CPE)range: < 6.0.14-150200.6.26.1
Patches
Vulnerability mechanics
References
4- github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838mitrex_refsource_CONFIRM
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/mitre
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/mitre
- security.netapp.com/advisory/ntap-20230814-0006/mitre
News mentions
0No linked articles in our index yet.