CVE-2023-45145

Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window.

LOW
3.6
CVSS Score
Published: October 18, 2023 at 08:17 PM UTC
Updated: June 17, 2026 at 06:28 AM UTC
3 products affected across 3 vendorsDebian LinuxFedoraRedis

Using redis by redis?

Get instant alerts when new vulnerabilities affect redis - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
LOW3.6
Exploit prediction
EPSS 0.4%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.2.14v < 7.0.14v < 7.2.22.6.0 ≤ v < 6.2.147.0.0 ≤ v < 7.0.147.2.0 ≤ v < 7.2.22.6.0 rc1
Affected range stops below 6.2.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.0.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.2.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

3.6LOWGitHub_M
Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-668

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card