cve.bz

CVE-2023-45145 Exposure of Resource to Wrong Sphere

3.6 lowEPSS 0.4%Fix available

Low (3.6). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

3.6 low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 39th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-668 Exposure of Resource to Wrong Sphere
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-45145 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-45145?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-45145?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-45145 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redis:redisfrom 2.6.0 before 6.2.14
redis:redisfrom 7.0.0 before 7.0.14
redis:redisfrom 7.2.0 before 7.2.2
redis:redis2.6.0:rc1
fedoraproject:fedora37
fedoraproject:fedora38
fedoraproject:fedora39
debian:debian_linux10.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10redis5:5.0.14-1+deb10u5DLA-3627-1
Debian11redis5:6.0.16-1+deb11u3DLA-3885-1
Debian12redis5:7.0.15-1~deb12u1DEBIAN-CVE-2023-45145 DSA-5610-1
Debian13, 14redis5:7.0.14-1DEBIAN-CVE-2023-45145
UbuntuPro:14.04:LTSredis2:2.8.4-2ubuntu0.2+esm3UBUNTU-CVE-2023-45145 USN-6531-1
UbuntuPro:16.04:LTSredis2:3.0.6-1ubuntu0.4+esm2UBUNTU-CVE-2023-45145 USN-6531-1
UbuntuPro:18.04:LTSredis5:4.0.9-1ubuntu0.2+esm4UBUNTU-CVE-2023-45145 USN-6531-1
UbuntuPro:20.04:LTSredis5:5.0.7-2ubuntu0.1+esm2UBUNTU-CVE-2023-45145 USN-6531-1
UbuntuPro:22.04:LTSredis5:6.0.16-1ubuntu1+esm1UBUNTU-CVE-2023-45145 USN-6531-1
Red Hatenterprise_linux:8::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.17-1.module+el8.10.0+22680+748527fdRHSA-2025:0595
Red Hatenterprise_linux:9::appstreamredis, redis-doc, redis-devel and 2 more0:6.2.17-1.el9_5RHSA-2025:0693
Red Hatenterprise_linux:9::appstreamredis, redis-doc, redis-devel and 2 more0:7.2.6-1.module+el9.5.0+22422+63e067d8RHSA-2024:10869
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 7 moreredis6.0.14-150200.6.29.1SUSE-SU-2023:4376-1
SUSELinux Enterprise Module for Server Applications 15 SP4, Linux Enterprise Module for Server Applications 15 SP5redis6.2.6-150400.3.25.1SUSE-SU-2023:4290-1
SUSELinux Enterprise Module for Server Applications 15 SP5redis77.0.8-150500.3.9.1SUSE-SU-2024:0200-1
openSUSELeap 15.4, Leap 15.5redis6.2.6-150400.3.25.1SUSE-SU-2023:4290-1
openSUSELeap 15.5redis77.0.8-150500.3.9.1SUSE-SU-2024:0200-1
openSUSETumbleweedredis7.2.2-1.1openSUSE-SU-2024:13354-1
AlmaLinux8redis, redis-doc, redis-devel6.2.17-1.module_el8.10.0+3946+3de613d5ALSA-2025:0595
AlmaLinux9redis, redis-doc, redis-devel6.2.17-1.el9_5ALSA-2025:0693
AlmaLinux9redis, redis-doc, redis-devel7.2.6-1.module_el9.5.0+130+36ae7635ALSA-2024:10869
Rocky Linux8redis0:6.2.17-1.module+el8.10.0+1923+5b85c6a7RLSA-2025:0595
Rocky Linux9redis0:6.2.17-1.el9_5RLSA-2025:0693
Alpinev3.15redis6.2.14-r0ALPINE-CVE-2023-45145
Alpinev3.16, v3.17, v3.18redis7.0.14-r0ALPINE-CVE-2023-45145
Alpinev3.19, v3.20, v3.21 and 3 moreredis7.2.2-r0ALPINE-CVE-2023-45145
Azure Linux2redis6.2.14-1AZL-31653
Alpaquita23redis7.0.14-r0BELL-CVE-2023-45145
Alpaquitastreamredis7.2.2-r0BELL-CVE-2023-45145

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8redis:6-8100020250113083959.489197e6Fixed 2025-01-22RHSA-2025:0595
Red Hat Enterprise Linux 9redis:7-9050020241104103753.9Fixed 2024-12-05RHSA-2024:10869
Red Hat Enterprise Linux 9redis-0:6.2.17-1.el9_5Fixed 2025-01-27RHSA-2025:0693
Red Hat 3scale API Management Platform 23scale-amp-backend-containerNot affected
Red Hat 3scale API Management Platform 23scale-amp-system-containerNot affected
Red Hat Ansible Automation Platform 1.2ansible-towerNot affected
Red Hat Fuse 7redisNot affected
Red Hat Quay 3quay/quay-rhel8Fix deferred
Red Hat Satellite 6satellite:el8/rubygem-gitlab-sidekiq-fetcherNot affected
Red Hat Satellite 6tfm-rubygem-gitlab-sidekiq-fetcherNot affected
Red Hat Software Collectionsrh-redis6-redisFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-45145.

References

Check your stackJSON