CVE-2023-45145
Fixed in a distro release EPSS <1%CVSS 3.6
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.
Products: Redis
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux:8 | redis | 6.2.17-1.module_el8.10.0+3946+3de613d5 |
| AlmaLinux:8 | redis-devel | 6.2.17-1.module_el8.10.0+3946+3de613d5 |
| AlmaLinux:8 | redis-doc | 6.2.17-1.module_el8.10.0+3946+3de613d5 |
| AlmaLinux:9 | redis | 7.2.6-1.module_el9.5.0+130+36ae7635 |
| AlmaLinux:9 | redis | 6.2.17-1.el9_5 |
| AlmaLinux:9 | redis-devel | 7.2.6-1.module_el9.5.0+130+36ae7635 |
| AlmaLinux:9 | redis-devel | 6.2.17-1.el9_5 |
| AlmaLinux:9 | redis-doc | 7.2.6-1.module_el9.5.0+130+36ae7635 |
| AlmaLinux:9 | redis-doc | 6.2.17-1.el9_5 |
| Alpine:v3.15 | redis | 6.2.14-r0 |
| Alpine:v3.16 | redis | 7.0.14-r0 |
| Alpine:v3.17 | redis | 7.0.14-r0 |
| Alpine:v3.18 | redis | 7.0.14-r0 |
| Alpine:v3.19 | redis | 7.2.2-r0 |
| Chainguard | redis-6.2.10-benchmark | 6.2.10-r40 |
| Chainguard | redis-6.2.10-cli | 6.2.10-r40 |
| Debian:10 | redis | 5:5.0.14-1+deb10u5 |
| Debian:11 | redis | 5:6.0.16-1+deb11u3 |
| Debian:12 | redis | 5:7.0.15-1~deb12u1 |
| Debian:13 | redis | 5:7.0.14-1 |
| Debian:14 | redis | 5:7.0.14-1 |
| Red Hat:enterprise_linux:8 | redis | 0:6.2.17-1.module+el8.10.0+22680+748527fd |
| Red Hat:enterprise_linux:8 | redis-debuginfo | 0:6.2.17-1.module+el8.10.0+22680+748527fd |
| Red Hat:enterprise_linux:8 | redis-debugsource | 0:6.2.17-1.module+el8.10.0+22680+748527fd |
| Red Hat:enterprise_linux:8 | redis-devel | 0:6.2.17-1.module+el8.10.0+22680+748527fd |
| Red Hat:enterprise_linux:8 | redis-doc | 0:6.2.17-1.module+el8.10.0+22680+748527fd |
| Red Hat:enterprise_linux:9 | redis | 0:6.2.17-1.el9_5 |
| Red Hat:enterprise_linux:9 | redis | 0:7.2.6-1.module+el9.5.0+22422+63e067d8 |
| Red Hat:enterprise_linux:9 | redis-debuginfo | 0:6.2.17-1.el9_5 |
| Red Hat:enterprise_linux:9 | redis-debuginfo | 0:7.2.6-1.module+el9.5.0+22422+63e067d8 |
| Red Hat:enterprise_linux:9 | redis-debugsource | 0:7.2.6-1.module+el9.5.0+22422+63e067d8 |
| Red Hat:enterprise_linux:9 | redis-debugsource | 0:6.2.17-1.el9_5 |
| Red Hat:enterprise_linux:9 | redis-devel | 0:7.2.6-1.module+el9.5.0+22422+63e067d8 |
| Red Hat:enterprise_linux:9 | redis-devel | 0:6.2.17-1.el9_5 |
| Red Hat:enterprise_linux:9 | redis-doc | 0:7.2.6-1.module+el9.5.0+22422+63e067d8 |
| Red Hat:enterprise_linux:9 | redis-doc | 0:6.2.17-1.el9_5 |
| Rocky Linux:8 | redis | 0:6.2.17-1.module+el8.10.0+1923+5b85c6a7 |
| Rocky Linux:9 | redis | 0:6.2.17-1.el9_5 |
| SUSE:Enterprise Storage 7.1 | redis | 6.0.14-150200.6.29.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | redis | 6.0.14-150200.6.29.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | redis | 6.0.14-150200.6.29.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | redis | 6.0.14-150200.6.29.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP4 | redis | 6.2.6-150400.3.25.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP5 | redis | 6.2.6-150400.3.25.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP5 | redis7 | 7.0.8-150500.3.9.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | redis | 6.0.14-150200.6.29.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | redis | 6.0.14-150200.6.29.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | redis | 6.0.14-150200.6.29.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | redis | 6.0.14-150200.6.29.1 |
| SUSE:Manager Proxy 4.2 | redis | 6.0.14-150200.6.29.1 |
| SUSE:Manager Server 4.2 | redis | 6.0.14-150200.6.29.1 |
| Ubuntu:Pro:14.04:LTS | redis | 2:2.8.4-2ubuntu0.2+esm3 |
| Ubuntu:Pro:16.04:LTS | redis | 2:3.0.6-1ubuntu0.4+esm2 |
| Ubuntu:Pro:18.04:LTS | redis | 5:4.0.9-1ubuntu0.2+esm4 |
| Ubuntu:Pro:20.04:LTS | redis | 5:5.0.7-2ubuntu0.1+esm2 |
| Ubuntu:Pro:22.04:LTS | redis | 5:6.0.16-1ubuntu1+esm1 |
| openSUSE:Leap 15.4 | redis | 6.2.6-150400.3.25.1 |
| openSUSE:Leap 15.5 | redis | 6.2.6-150400.3.25.1 |
| openSUSE:Leap 15.5 | redis7 | 7.0.8-150500.3.9.1 |
| openSUSE:Tumbleweed | redis | 7.2.2-1.1 |