Vulnerability record · CVE-2022-24834 · published 13 July 2023
CVE-2022-24834: Redis heap-based buffer overflow vulnerability
Redis · Redis
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.
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838 | Vendor Advisory |
| https://lists.fedoraproject.org/archives/list/[email protected]/message/MIF5MAGYARYUMRFK7PQI7HYXM | Mailing ListThird Party Advisory |
| https://lists.fedoraproject.org/archives/list/[email protected]/message/TDNNH2ONMVNBQ6LUIAOAGDNFP | Mailing ListThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20230814-0006/ | |
| https://github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838 | Vendor Advisory |
| https://lists.fedoraproject.org/archives/list/[email protected]/message/MIF5MAGYARYUMRFK7PQI7HYXM | Mailing ListThird Party Advisory |
| https://lists.fedoraproject.org/archives/list/[email protected]/message/TDNNH2ONMVNBQ6LUIAOAGDNFP | Mailing ListThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20230814-0006/ |
Track CVE-2022-24834 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-24834), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.