CVE-2023-45145

LOWCVSS 3.6/10EPSS 0.44%

Last modified

CVE-2023-45145 is a low-severity vulnerability rated 3.6/10 on the CVSS scale. 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. EPSS estimates a 0.44% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
3.6/10

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

EPSS Probability
0.44%

35.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
RedisRedis>= 2.6.0, < 6.2.14
RedisRedis>= 7.0.0, < 7.0.14
RedisRedis>= 7.2.0, < 7.2.2
RedisRedis2.6.0Rc1
FedoraprojectFedora37
FedoraprojectFedora38
FedoraprojectFedora39
DebianDebian Linux10.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2023-45145?
CVE-2023-45145 has a CVSS score of 3.6/10 (LOW severity). The EPSS model estimates a 0.44% probability of exploitation in the next 30 days.
How do I fix CVE-2023-45145?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-45145?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST