CVE-2023-45145
Summary
| CVE | CVE-2023-45145 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-10-18 21:15:00 UTC |
| Updated | 2023-11-16 15:15:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Redis Unix-domain socket may be exposed with the wrong permissions for a short time window. · Advisory · redis/redis · GitHub |
MISC |
github.com |
|
| [SECURITY] [DLA 3627-1] redis security update |
MISC |
lists.debian.org |
|
| [SECURITY] Fedora 39 Update: redis-7.2.2-1.fc39 - package-announce - Fedora Mailing-Lists |
MISC |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 38 Update: redis-7.0.14-1.fc38 - package-announce - Fedora Mailing-Lists |
MISC |
lists.fedoraproject.org |
|
| [SECURITY] Fedora 37 Update: redis-7.0.14-1.fc37 - package-announce - Fedora Mailing-Lists |
MISC |
lists.fedoraproject.org |
|
| security.netapp.com/advisory/ntap-20231116-0014 |
|
security.netapp.com |
|
| Fix issue of listen before chmod on Unix sockets (CVE-2023-45145) (#1… · redis/redis@03345dd · GitHub |
MISC |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 199978 Ubuntu Security Notification for Redis Vulnerabilities (USN-6531-1)
- 284679 Fedora Security Update for redis (FEDORA-2023-77ed1e26a4)
- 284680 Fedora Security Update for redis (FEDORA-2023-8a9087f089)
- 285186 Fedora Security Update for redis (FEDORA-2023-fd75e4f307)
- 357096 Amazon Linux Security Advisory for redis : ALAS2REDIS6-2024-009
- 357116 Amazon Linux Security Advisory for redis6 : ALAS2023-2024-516
- 357126 Amazon Linux Security Advisory for redis6 : ALAS2023-2024-513
- 503397 Alpine Linux Security Update for redis
- 503398 Alpine Linux Security Update for redis
- 505930 Alpine Linux Security Update for redis
- 6000276 Debian Security Update for redis (DLA 3627-1)
- 6000455 Debian Security Update for redis (DSA 5610-1)
- 691329 Free Berkeley Software Distribution (FreeBSD) Security Update for redis (8706e097-6db7-11ee-8744-080027f5fec9)
- 755206 SUSE Enterprise Linux Security Update for redis (SUSE-SU-2023:4290-1)
- 755239 SUSE Enterprise Linux Security Update for redis (SUSE-SU-2023:4376-1)
- 755640 SUSE Enterprise Linux Security Update for redis7 (SUSE-SU-2024:0200-1)
- 907584 Common Base Linux Mariner (CBL-Mariner) Security Update for redis (31653-1)