CVE-2023-45145: Redis - Race Condition
- Cve: CVE-2023-45145
- Name: Redis - Race Condition
- 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.
- Impact: Unauthorized processes can connect to Redis during startup, potentially leading to data access or control over the database.
- Remediation: Upgrade to Redis versions 7.2.2, 7.0.14, or 6.2.14. Alternatively, disable Unix sockets, set a restrictive umask, or store the socket in a protected directory.
- Vulnerability type: race_condition
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.6
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- Epss score: 0.00438
- Epss percentile: 0.38804
- Assignee: [email protected]
- Published at: 2023-10-18T21:15:09Z
- Age in days: 1133
- Modified at: 2026-06-17T06:28:18Z
- Patch available: yes
- References total: 7
- Products total: 3
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-45145
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-668 | Exposure of Resource to Wrong Sphere |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/redis/redis/commit/03345ddc7faf7af079485f2cbe5d17a1611cbce1 | Patch |
| https://github.com/redis/redis/security/advisories/GHSA-ghmp-889m-7cvx | Vendor Advisory |
| https://lists.debian.org/debian-lts-announce/2023/10/msg00032.html | Mailing List, Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/[email protected]/message/464JPNBWE433ZGYXO3KN72VR3KJPWHAW/ | Mailing List, Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/[email protected]/message/BNEK2K4IE7MPKRD6H36JXZMJKYS6I5GQ/ | Mailing List, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20231116-0014/ | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/[email protected]/message/DZMGTTV5XM4LA66FSIJSETNBBRRPJYOQ/ | Mailing List |
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| redis:redis | >= 7.2.0, < 7.2.2; >= 7.0.0, < 7.0.14; >= 2.6.0, < 6.2.14; = 2.6.0 rc1 | /v1/products/redis/redis |
| debian:debian_linux | = 10.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 39, = 38, = 37 | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| redis/redis | commit, fix, security_advisory | yes | /v1/repositories/redis/redis |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports