Vulnerability in Redis
CVE-2023-45145
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.
EPSS: 0.004 (36.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 3.6 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N.
Affected products
- Redis — versions >= 7.1.0, < 7.2.2, 2.6.0, >= 7.0.0, < 7.0.14
- Debian Debian_linux — versions 10.0
- Fedoraproject Fedora — versions 37, 38, 39
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Mailing List, Third Party Advisory)
- security-advisories@github.com (Mailing List, Third Party Advisory)
- security-advisories@github.com (Mailing List, Third Party Advisory)
- security-advisories@github.com (Mailing List)
- security-advisories@github.com (Third Party Advisory)
Frequently asked questions
- What is CVE-2023-45145?
- CVE-2023-45145 is a low-severity vulnerability in Redis, classified under Exposure of Resource to Wrong Sphere. CVSS score: 3.6/10. Published 2023-10-18.
- How severe is CVE-2023-45145?
- Low severity. CVSS v3 base score is 3.6 out of 10.
- Is CVE-2023-45145 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.