CVE-2023-45145

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

Published Oct 18, 2023 CVSS 3.1 · 3.6 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3627-1 redis security update
Debian DLA Debian DLA DLA-3885-1 redis security update
Debian DSA Debian DSA DSA-5610-1 redis security update
EUVD EUVD EUVD-2023-49453 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.
Ubuntu USN Ubuntu USN USN-6531-1 Redis vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:8
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 13, 2025, 5:13 PM
Reserved
Oct 4, 2023, 4:02 PM
Status
Modified
Published
Oct 18, 2023, 9:15 PM
Modified
Jun 17, 2026, 6:28 AM
Severity
Low
Public date
Oct 18, 2023, 12:00 AM