{"id":"ALPINE-CVE-2023-45145","details":"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.","modified":"2026-03-09T01:23:33.432712Z","published":"2023-10-18T21:15:09.560Z","upstream":["CVE-2023-45145"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2023-45145"}],"affected":[{"package":{"name":"redis","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.2.14-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0","6.2.0-r0","6.2.1-r0","6.2.12-r0","6.2.13-r0","6.2.2-r0","6.2.3-r0","6.2.4-r0","6.2.5-r0","6.2.6-r0","6.2.7-r0","6.2.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-45145.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.14-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0","6.2.0-r0","6.2.1-r0","6.2.2-r0","6.2.3-r0","6.2.4-r0","6.2.5-r0","6.2.6-r0","6.2.7-r0","7.0.0-r0","7.0.10-r0","7.0.11-r0","7.0.12-r0","7.0.13-r0","7.0.2-r0","7.0.4-r0","7.0.4-r1","7.0.5-r0","7.0.7-r0","7.0.8-r0","7.0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-45145.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.14-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0","6.2.0-r0","6.2.1-r0","6.2.2-r0","6.2.3-r0","6.2.4-r0","6.2.5-r0","6.2.6-r0","6.2.7-r0","7.0.0-r0","7.0.10-r0","7.0.11-r0","7.0.12-r0","7.0.13-r0","7.0.2-r0","7.0.3-r0","7.0.4-r0","7.0.4-r1","7.0.4-r2","7.0.5-r0","7.0.6-r0","7.0.7-r0","7.0.8-r0","7.0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-45145.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.14-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0","6.2.0-r0","6.2.1-r0","6.2.2-r0","6.2.3-r0","6.2.4-r0","6.2.5-r0","6.2.6-r0","6.2.7-r0","7.0.0-r0","7.0.10-r0","7.0.10-r1","7.0.11-r0","7.0.12-r0","7.0.13-r0","7.0.2-r0","7.0.3-r0","7.0.4-r0","7.0.4-r1","7.0.4-r2","7.0.5-r0","7.0.6-r0","7.0.7-r0","7.0.8-r0","7.0.9-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-45145.json"}},{"package":{"name":"redis","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/redis?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.2.2-r0"}]}],"versions":["2.4.14-r0","2.4.14-r1","2.4.14-r2","2.4.16-r0","2.6.16-r0","2.6.17-r0","2.8.10-r0","2.8.11-r0","2.8.12-r0","2.8.13-r0","2.8.14-r0","2.8.17-r0","2.8.19-r0","2.8.9-r0","2.8.9-r1","2.8.9-r2","3.0.0-r0","3.0.0-r1","3.0.1-r0","3.0.2-r0","3.0.3-r0","3.0.4-r0","3.0.5-r0","3.0.5-r1","3.0.6-r0","3.0.7-r0","3.0.7-r1","3.2.0-r0","3.2.1-r0","3.2.3-r0","3.2.4-r0","3.2.5-r0","3.2.7-r0","3.2.8-r0","3.2.9-r0","4.0.10-r0","4.0.10-r1","4.0.11-r0","4.0.12-r0","4.0.13-r0","4.0.2-r0","4.0.2-r1","4.0.5-r0","4.0.6-r0","4.0.8-r0","4.0.9-r0","4.0.9-r1","4.0.9-r2","5.0.4-r0","5.0.5-r0","5.0.7-r0","5.0.8-r0","5.0.9-r0","6.0.1-r0","6.0.10-r0","6.0.4-r0","6.0.5-r0","6.0.9-r0","6.2.0-r0","6.2.1-r0","6.2.2-r0","6.2.3-r0","6.2.4-r0","6.2.5-r0","6.2.6-r0","6.2.7-r0","7.0.0-r0","7.0.10-r0","7.0.10-r1","7.0.11-r0","7.0.12-r0","7.0.2-r0","7.0.3-r0","7.0.4-r0","7.0.4-r1","7.0.4-r2","7.0.5-r0","7.0.6-r0","7.0.7-r0","7.0.8-r0","7.0.9-r0","7.2.0-r0","7.2.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2023-45145.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}