CVE-2022-31144: Redis is an in-memory database that persists on disk.
High CVSS 8.8
- CVE id
- CVE-2022-31144
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Redis Runtimes and servers |
>= 7.0, < 7.0.4 | 7.0.4 |
How to fix it
Upgrade Redis to 7.0.4 or later.
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 XAUTOCLAIM command on a stream key in a specific state may result with heap overflow, and potentially remote code execution. This problem affects versions on the 7.x branch prior to 7.0.4. The patch is released in version 7.0.4.
References
- CVE-2022-31144 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2022-31144
- Web: https://github.com/redis/redis/releases/tag/7.0.4
- Web: https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh
- Web: https://security.gentoo.org/glsa/202209-17
- Web: https://security.netapp.com/advisory/ntap-20220909-0002/
- Web: https://github.com/redis/redis/releases/tag/7.0.4
- Web: https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh
- Web: https://security.gentoo.org/glsa/202209-17
- Web: https://security.netapp.com/advisory/ntap-20220909-0002/
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.