原始描述
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.
受影响的软件
- Redis ≥ 7.0.0 < 7.0.14≥ 2.6.0 < 6.2.14= 2.6.0≥ 7.2.0 < 7.2.2 修复版本: 7.0.14, 6.2.14, 7.2.2 精确匹配
详情
- 发布日期
- 2023-10-19
- 最后修改
- 2025-02-14
- CVSS 向量
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N- CWE
- CWE-668
- EPSS(30 天内被利用概率)
- 0.44% (百分位 39)
参考资料
- cve.org/CVE-2023-45145
- nvd.nist.gov/vuln/detail/CVE-2023-45145
- github.com/redis/redis/security/advisories/GHSA-ghmp-889m-7cvx
- github.com/redis/redis/commit/03345ddc7faf7af079485f2cbe5d17a1611cbce1
- lists.debian.org/debian-lts-announce/2023/10/msg00032.html
- lists.fedoraproject.org/archives/list/[email protected]/message/464...
- lists.fedoraproject.org/archives/list/[email protected]/message/BNE...
- lists.fedoraproject.org/archives/list/[email protected]/message/DZM...
- security.netapp.com/advisory/ntap-20231116-0014/
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。