CVE Database›CVE-2023-45145

CVE-2023-45145

redis: possible bypass of Unix socket permissions on startup

Loading…

Severity

Low

Red Hat Product Security

3.6

CVSS 3.1

Review impact separately from score.

Published · October 18, 2023

Updated · August 5, 2026

Description

A flaw was found in Redis, an in-memory database that persists on disk. On startup, Redis listens 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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

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.

CVSS / CWE

CVSS 3.1 · 3.6
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

CWE-269 · Improper Privilege Management