CVE-2022-24834: Redis is an in-memory database that persists on disk.
High CVSS 8.8
- CVE id
- CVE-2022-24834
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Redis Runtimes and servers |
>= 2.6.0, < 6.0.20 >= 6.2.0, < 6.2.13 >= 7.0.0, < 7.0.12 |
6.0.20, 6.2.13, 7.0.12 |
How to fix it
Upgrade Redis to the fixed release of the line you run: 6.0.20, 6.2.13, 7.0.12.
redis-server --version
- Install the patched Redis release of your series (the redis image tag or your packages) and restart it; on a managed service, apply the provider's maintenance update.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2022-24834 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-24834
- Web: https://github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838
- Web: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/
- Web: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/
- Web: https://security.netapp.com/advisory/ntap-20230814-0006/
- Web: https://github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838
- Web: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/
- Web: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/
- Web: https://security.netapp.com/advisory/ntap-20230814-0006/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.