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

- Severity: Low 3.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 39% of CVEs (2026-12-02)
- Published: 2023-10-18T20:17:08.588Z
- Modified: 2026-09-08T08:48:19.045Z
- Also known as: BIT-KEYDB-2023-45145, BIT-REDIS-2023-45145, BIT-VALKEY-2023-45145, GHSA-ghmp-889m-7cvx
- Weaknesses: CWE-668
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- redis redis: >= 2.6.0-rc1, < 6.2.14; >= 7.0.0, < 7.0.14; >= 7.1.0, < 7.2.2; from 2.6.0 before 6.2.14; from 7.0.0 before 7.0.14; from 7.2.0 before 7.2.2; 2.6.0
- fedoraproject fedora: 37; 38; 39
- debian debian_linux: 10.0
- keydb (Bitnami): from 2.6.0 before 6.2.14; from 7.0.0 before 7.0.14; from 7.2.0 before 7.2.2
- redis (Bitnami): from 2.6.0 before 6.2.14; from 7.0.0 before 7.0.14; from 7.2.0 before 7.2.2
- valkey (Bitnami): from 2.6.0 before 6.2.14; from 7.0.0 before 7.0.14; from 7.2.0 before 7.2.2

## Every score

- GitHub_M: 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`
- NVD: 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`
- Bitnami Vulnerability Database: rating Low

## References

- <https://github.com/redis/redis/security/advisories/GHSA-ghmp-889m-7cvx> (advisory, vendor-advisory, web)
- <https://github.com/redis/redis/commit/03345ddc7faf7af079485f2cbe5d17a1611cbce1> (fix, patch, web)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00032.html> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/464JPNBWE433ZGYXO3KN72VR3KJPWHAW/> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BNEK2K4IE7MPKRD6H36JXZMJKYS6I5GQ/> (advisory, mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DZMGTTV5XM4LA66FSIJSETNBBRRPJYOQ/> (discussion, mailing-list, web)
- <https://security.netapp.com/advisory/ntap-20231116-0014/> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-45145> (web)

## Sources

- CVE List: [CVE-2023-45145](https://www.cve.org/CVERecord?id=CVE-2023-45145), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2023-45145](https://nvd.nist.gov/vuln/detail/CVE-2023-45145), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KEYDB-2023-45145](https://osv.dev/vulnerability/BIT-KEYDB-2023-45145), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-REDIS-2023-45145](https://osv.dev/vulnerability/BIT-REDIS-2023-45145), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-VALKEY-2023-45145](https://osv.dev/vulnerability/BIT-VALKEY-2023-45145), Apache-2.0, modified 2025-10-15

---

Page: https://cve.day/CVE-2023-45145 · Whole record: https://cve.day/CVE-2023-45145.json · Rebuilt by cve.day 2026-11-25T22:58:28.918Z
