CVE-2023-22458: Redis is an in-memory database that persists on disk.
Medium CVSS 5.5
- CVE id
- CVE-2023-22458
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Redis Runtimes and servers |
>= 6.2.0, < 6.2.9 >= 7.0.0, < 7.0.8 |
6.2.9, 7.0.8 |
How to fix it
Upgrade Redis to the fixed release of the line you run: 6.2.9, 7.0.8.
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. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
References
- CVE-2023-22458 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2023-22458
- Web: https://github.com/redis/redis/commit/16f408b1a0121cacd44cbf8aee275d69dc627f02
- Web: https://github.com/redis/redis/releases/tag/6.2.9
- Web: https://github.com/redis/redis/releases/tag/7.0.8
- Web: https://github.com/redis/redis/security/advisories/GHSA-r8w2-2m53-gprj
- Web: https://github.com/redis/redis/commit/16f408b1a0121cacd44cbf8aee275d69dc627f02
- Web: https://github.com/redis/redis/releases/tag/6.2.9
- Web: https://github.com/redis/redis/releases/tag/7.0.8
- Web: https://github.com/redis/redis/security/advisories/GHSA-r8w2-2m53-gprj
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.