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

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.

Published: 2023-10-18 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-45145 is rated Low Risk (38.6/100): CVSS Low severity, with medium exploitation likelihood (EPSS 0.58%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-45145

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-11-21 0.22% 0.58% +0.36%
2 2025-11-18 0.60% 0.22% -0.37%
3 2025-11-05 0.60%

Full EPSS history (12 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-45145

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.6 3.1 LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
1.0 2.5 [email protected]
3.6 3.1 LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
1.0 2.5 [email protected]

Weakness enumeration for CVE-2023-45145

OS Trackers for CVE-2023-45145

vendor priority summary link
alpine CVE-2023-45145: 1 source package rows (redis); 70 state rows across 8 repos (3.17-main, 3.18-main, 3.19-main, 3.20-community, 3.21-community, 3.22-community, edge-community, edge-main); fixed 8, open 62. https://security.alpinelinux.org/vuln/CVE-2023-45145
debian not yet assigned CVE-2023-45145 not yet assigned priority: Debian including 1 source packages (redis), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-45145
gentoo normal CVE-2023-45145: 1 GLSA(s) (202408-05), 1 atom(s) (dev-db/redis); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-45145
redhat low https://access.redhat.com/security/cve/CVE-2023-45145
suse high CVE-2023-45145 severity important: SUSE including 10 source package names (redis-6.0.14-150200.6.29.1, redis-6.2.17-1.module+el8.10.0+22680+748527fd, …), 25 product×package rows across 19 product lines (SUSE Enterprise Storage 7.1, SUSE Liberty Linux 8, … (19 product lines)): Fixed 25. https://www.suse.com/security/cve/CVE-2023-45145/
ubuntu medium CVE-2023-45145 medium priority: Ubuntu including 1 source packages (redis), 12 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 6, not-affected 4, ignored 2. https://ubuntu.com/security/CVE-2023-45145

Affected software / configurations for CVE-2023-45145

Vendor Product Version Raw CPE
redis redis >= 2.6.0, < 6.2.14 cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
redis redis >= 7.0.0, < 7.0.14 cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
redis redis >= 7.2.0, < 7.2.2 cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
redis redis 2.6.0 cpe:2.3:a:redis:redis:2.6.0:rc1:*:*:*:*:*:*
fedoraproject fedora 37 cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
fedoraproject fedora 38 cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
fedoraproject fedora 39 cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

References for CVE-2023-45145

cvelogic Threat Intelligence