Original 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.
Affected software
- Redis ≥ 2.6.0 < 6.0.20≥ 7.0.0 < 7.0.12≥ 6.2.0 < 6.2.13 Fixed in: 6.0.20, 7.0.12, 6.2.13 exact match
Details
- Published
- 2023-07-13
- Last modified
- 2025-02-14
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-122, CWE-680
- EPSS (30-day exploit probability)
- 41.41% (percentile 99)
References
- cve.org/CVE-2022-24834
- nvd.nist.gov/vuln/detail/CVE-2022-24834
- github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838
- lists.fedoraproject.org/archives/list/[email protected]/message/TDN...
- lists.fedoraproject.org/archives/list/[email protected]/message/MIF...
- security.netapp.com/advisory/ntap-20230814-0006/
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.