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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.6, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-10-18 · Modified: 2025-02-13
- Aliases: ALPINE-CVE-2023-45145, MGASA-2023-0301, SUSE-SU-2023:4290-1, SUSE-SU-2023:4376-1, SUSE-SU-2024:0200-1, UBUNTU-CVE-2023-45145, DEBIAN-CVE-2023-45145, DLA-3627-1
- Record: https://cvemate.com/vulnerability/CVE-2023-45145 · JSON: https://cvemate.com/vulnerability/CVE-2023-45145/json

## Description

```text
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.
```

## Signals

- CVSS: 3.6 low (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.438%, percentile 39.787%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 23)

- alpine redis (Alpine Linux): ≥ 2.6.0, \< 7.0.14-r0 \| ≥ 2.6.0, \< 7.2.2-r0 \| ≥ 2.6.0, \< 6.2.14-r0 \| ≥ 7.0.0, \< 7.0.14-r0 \| ≥ 7.2.0, \< 7.2.2-r0
- debian redis (Debian): \< 5:7.0.15-1~deb12u1 \| \< 5:7.0.14-1 \| \< 5:5.0.14-1+deb10u5
- ubuntu redis (Ubuntu): \< 2:2.8.4-2ubuntu0.2+esm3 \| \< 2:3.0.6-1ubuntu0.4+esm2 \| \< 5:4.0.9-1ubuntu0.2+esm4 \| \< 5:5.0.7-2ubuntu0.1+esm2 \| \< 5:6.0.16-1ubuntu1+esm1
- debian debian\_linux: 10.0
- fedoraproject fedora: 37 \| 38 \| 39
- mageia redis (Mageia): \< 7.0.14-1.mga9
- redis redis: ≥ 2.6.0-rc1, \< 6.2.14 \| ≥ 7.1.0, \< 7.2.2 \| ≥ 2.6.0, \< 6.2.14 \| ≥ 7.0.0, \< 7.0.14 \| ≥ 7.2.0, \< 7.2.2 \| 2.6.0:rc1
- opensuse redis7&distro=openSUSE Leap 15.5 (openSUSE): \< 7.0.8-150500.3.9.1
- opensuse redis&distro=openSUSE Leap 15.4 (openSUSE): \< 6.2.6-150400.3.25.1
- opensuse redis&distro=openSUSE Leap 15.5 (openSUSE): \< 6.2.6-150400.3.25.1
- suse redis7&distro=SUSE Linux Enterprise Module for Server Applications 15 SP5 (SUSE Linux Enterprise): \< 7.0.8-150500.3.9.1
- suse redis&distro=SUSE Enterprise Storage 7.1 (SUSE Linux Enterprise): \< 6.0.14-150200.6.29.1
- suse redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS (SUSE Linux Enterprise): \< 6.0.14-150200.6.29.1
- suse redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS (SUSE Linux Enterprise): \< 6.0.14-150200.6.29.1
- suse redis&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS (SUSE Linux Enterprise): \< 6.0.14-150200.6.29.1
- suse redis&distro=SUSE Linux Enterprise Module for Server Applications 15 SP4 (SUSE Linux Enterprise): \< 6.2.6-150400.3.25.1
- suse redis&distro=SUSE Linux Enterprise Module for Server Applications 15 SP5 (SUSE Linux Enterprise): \< 6.2.6-150400.3.25.1
- suse redis&distro=SUSE Linux Enterprise Server 15 SP2-LTSS (SUSE Linux Enterprise): \< 6.0.14-150200.6.29.1
- suse redis&distro=SUSE Linux Enterprise Server 15 SP3-LTSS (SUSE Linux Enterprise): \< 6.0.14-150200.6.29.1
- suse redis&distro=SUSE Linux Enterprise Server for SAP Applications 15 SP2 (SUSE Linux Enterprise): \< 6.0.14-150200.6.29.1

## References (first 20 of 22)

- <https://github.com/redis/redis/security/advisories/GHSA-ghmp-889m-7cvx>
- <https://github.com/redis/redis/commit/03345ddc7faf7af079485f2cbe5d17a1611cbce1>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00032.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/464JPNBWE433ZGYXO3KN72VR3KJPWHAW/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BNEK2K4IE7MPKRD6H36JXZMJKYS6I5GQ/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DZMGTTV5XM4LA66FSIJSETNBBRRPJYOQ/>
- <https://security.netapp.com/advisory/ntap-20231116-0014/>
- <https://security.alpinelinux.org/vuln/CVE-2023-45145>
- <https://advisories.mageia.org/MGASA-2023-0301.html>
- <https://bugs.mageia.org/show_bug.cgi?id=32406>
- <https://github.com/redis/redis/releases/tag/7.0.14>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20234290-1/>
- <https://bugzilla.suse.com/1216376>
- <https://www.suse.com/security/cve/CVE-2023-45145>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20234376-1/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20240200-1/>
- <https://bugzilla.suse.com/1212119>
- <https://ubuntu.com/security/CVE-2023-45145>
- <https://ubuntu.com/security/notices/USN-6531-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-45145>

---

Data as of 2026-12-05T05:18:59.106Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
