CVE-2023-45145
Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window.
Mitigation
- Upgrade redis to 7.2.2 or later.
Who should check
- Anyone running redis >= 2.6.0-rc1, < 6.2.14; >= 7.0.0, < 7.0.14; >= 7.1.0, < 7.2.2
Vulnerability facts
- Affected
- redis >= 2.6.0-rc1, < 6.2.14; >= 7.0.0, < 7.0.14; >= 7.1.0, < 7.2.2
- Fixed in
- redis 6.2.14, redis 7.0.14, redis 7.2.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 3.6 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.40% chance of exploitation in 30 days (percentile 25, 2026-11-26)
- CWE
- CWE-668
- Modified
Description
Redis is an in-memory database that persists on disk. On startup, Redis begins listening on a Unix socket before adjusting its permissions to the user-provided configuration. If a permissive umask(2) is used, this creates a race condition that enables, during a short period of time, another process to establish an otherwise unauthorized connection. This problem has existed since Redis 2.6.0-RC1. This issue has been addressed in Redis versions 7.2.2, 7.0.14 and 6.2.14. Users are advised to upgrade. For users unable to upgrade, it is possible to work around the problem by disabling Unix sockets, starting Redis with a restrictive umask, or storing the Unix socket file in a protected directory.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| redis | >= 2.6.0-rc1, < 6.2.14; >= 7.0.0, < 7.0.14; >= 7.1.0, < 7.2.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-45145. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-45145.md Affected: redis >= 2.6.0-rc1, < 6.2.14; >= 7.0.0, < 7.0.14; >= 7.1.0, < 7.2.2 Fixed in: redis 6.2.14, redis 7.0.14, redis 7.2.2 Steps: 1. Search this machine and project for redis: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://lists.debian.org/debian-lts-announce/2023/10/msg00032.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/464JPNBWE433ZGYXO3KN72VR3KJPWHAW/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BNEK2K4IE7MPKRD6H36JXZMJKYS6I5GQ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DZMGTTV5XM4LA66FSIJSETNBBRRPJYOQ/
- https://security.netapp.com/advisory/ntap-20231116-0014/
FAQ
Is CVE-2023-45145 being exploited?
There is no confirmed exploitation: CVE-2023-45145 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-45145?
Low: CVSS 3.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-45145?
redis >= 2.6.0-rc1, < 6.2.14; >= 7.0.0, < 7.0.14; >= 7.1.0, < 7.2.2.
Is there a fix for CVE-2023-45145?
Yes. Fixed in redis 6.2.14, redis 7.0.14, redis 7.2.2. Upgrade redis to 7.2.2 or later.
How do I check if I'm affected by CVE-2023-45145?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.