CVE-2023-25155: Redis is an in-memory database that persists on disk.
Medium CVSS 6.5
- CVE id
- CVE-2023-25155
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Redis Runtimes and servers |
< 6.0.18 >= 6.2.0, < 6.2.11 >= 7.0.0, < 7.0.9 |
6.0.18, 6.2.11, 7.0.9 |
How to fix it
Upgrade Redis to the fixed release of the line you run: 6.0.18, 6.2.11, 7.0.9.
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 issuing specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands can trigger an integer overflow, resulting in a runtime assertion and termination of the Redis server process. This problem affects all Redis versions. Patches were released in Redis version(s) 6.0.18, 6.2.11 and 7.0.9.
References
- CVE-2023-25155 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2023-25155
- Web: https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619
- Web: https://github.com/redis/redis/releases/tag/6.0.18
- Web: https://github.com/redis/redis/releases/tag/6.2.11
- Web: https://github.com/redis/redis/releases/tag/7.0.9
- Web: https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83
- Web: https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619
- Web: https://github.com/redis/redis/releases/tag/6.0.18
- Web: https://github.com/redis/redis/releases/tag/6.2.11
- Web: https://github.com/redis/redis/releases/tag/7.0.9
- Web: https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83
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.