Every CVE Search/ Get API key

CVE-2023-45145

Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window.

3.6 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
High
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.44%Up 0.4 points since Oct 19, 2023
90%50%10%1%

What each source reports

CVE List Score used 3.6

Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window.

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.

Record
CVE-2023-45145
CVSS 3.1
3.6 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-668
Updated
2026-11-02
EUVDEUVD-2023-49453 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.

Record
EUVD-2023-49453
CVSS 3.1
3.6 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-03
NVD 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.

Record
CVE-2023-45145
CVSS 3.1
3.6 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-668
Updated
2026-11-02
OSVALPINE-CVE-2023-45145 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.

Record
ALPINE-CVE-2023-45145
CVSS 3.1
3.6 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-03
OSVAZL-31653 3.6

CVE-2023-45145 affecting package redis for versions less than 6.2.14-1

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.

Record
AZL-31653
CVSS 3.1
3.6 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVBELL-CVE-2023-45145 3.6
Record
BELL-CVE-2023-45145
CVSS 3.1
3.6 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
Show 25 moreShow less
OSV 3.6

Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window.

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.

Record
CVE-2023-45145
CVSS 3.1
3.6 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-668
Updated
2026-11-02
OSVDEBIAN-CVE-2023-45145 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.

Record
DEBIAN-CVE-2023-45145
CVSS 3.1
3.6 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVOESA-2024-2230 7.0

redis security update

Redis is an advanced key-value store. It is often referred to as a dattructure server since keys can contain strings, hashes ,lists, sets anorted sets.

Security Fix(es):

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.(CVE-2023-45145)

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as KEYS, SCAN, PSUBSCRIBE, FUNCTION LIST, COMMAND LIST and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2024-31228)

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2024-31449)

Record
OESA-2024-2230
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2024-2269 7.0

redis security update

Redis is an advanced key-value store. It is often referred to as a dattructure server since keys can contain strings, hashes ,lists, sets anorted sets.

Security Fix(es):

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.(CVE-2023-45145)

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as KEYS, SCAN, PSUBSCRIBE, FUNCTION LIST, COMMAND LIST and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2024-31228)

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2024-31449)

Record
OESA-2024-2269
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2024-2270 7.0

redis security update

Redis is an advanced key-value store. It is often referred to as a dattructure server since keys can contain strings, hashes ,lists, sets anorted sets.

Security Fix(es):

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.(CVE-2023-45145)

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as KEYS, SCAN, PSUBSCRIBE, FUNCTION LIST, COMMAND LIST and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2024-31228)

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2024-31449)

Record
OESA-2024-2270
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2024-2271 7.0

redis security update

Redis is an advanced key-value store. It is often referred to as a dattructure server since keys can contain strings, hashes ,lists, sets anorted sets.

Security Fix(es):

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.(CVE-2023-45145)

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as KEYS, SCAN, PSUBSCRIBE, FUNCTION LIST, COMMAND LIST and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2024-31228)

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2024-31449)

Record
OESA-2024-2271
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2024-2272 7.0

redis security update

Redis is an advanced key-value store. It is often referred to as a dattructure server since keys can contain strings, hashes ,lists, sets anorted sets.

Security Fix(es):

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.(CVE-2023-45145)

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as KEYS, SCAN, PSUBSCRIBE, FUNCTION LIST, COMMAND LIST and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2024-31228)

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2024-31449)

Record
OESA-2024-2272
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2024:10869 7.0

Red Hat Security Advisory: redis:7 security update

Record
RHSA-2024:10869
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2025:0595 7.0

Red Hat Security Advisory: redis:6 security update

Record
RHSA-2025:0595
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2025:0693 7.0

Red Hat Security Advisory: redis security update

Record
RHSA-2025:0693
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRLSA-2025:0595 7.0

Important: redis:6 security update

Redis is an advanced key-value store. It is often referred to as a data-structure server since keys can contain strings, hashes, lists, sets, and sorted sets. For performance, Redis works with an in-memory data set. You can persist it either by dumping the data set to disk every once in a while, or by appending each command to a log.

Security Fix(es):

  • redis: Integer overflow in the Redis HRANDFIELD and ZRANDMEMBER commands may lead to denial-of-service (CVE-2023-22458)

  • redis: Integer overflow in the Redis SETRANGE and SORT/SORT_RO commands may result with false OOM panic (CVE-2022-35977)

  • redis: Specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands can trigger an integer overflow (CVE-2022-36021)

  • redis: String matching commands (like SCAN or KEYS) with a specially crafted pattern to trigger a denial-of-service attack (CVE-2023-25155)

  • redis: Insufficient validation of HINCRBYFLOAT command (CVE-2023-28856)

  • redis: heap overflow in the lua cjson and cmsgpack libraries (CVE-2022-24834)

  • redis: possible bypass of Unix socket permissions on startup (CVE-2023-45145)

  • redis: Lua library commands may lead to stack overflow and RCE in Redis (CVE-2024-31449)

  • redis: Denial-of-service due to unbounded pattern matching in Redis (CVE-2024-31228)

  • redis: Redis' Lua library commands may lead to remote code execution (CVE-2024-46981)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2025:0595
CVSS 3.1
7.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2023-45145 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.

Record
UBUNTU-CVE-2023-45145
CVSS 3.1
3.6 LowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVALSA-2024:10869 No score

Moderate: redis:7 security update

Redis is an advanced key-value store. It is often referred to as a data-structure server since keys can contain strings, hashes, lists, sets, and sorted sets. For performance, Redis works with an in-memory data set. You can persist it either by dumping the data set to disk every once in a while, or by appending each command to a log.

Security Fix(es):

  • redis: Redis SORT_RO may bypass ACL configuration (CVE-2023-41053)
  • redis: possible bypass of Unix socket permissions on startup (CVE-2023-45145)
  • redis: Denial-of-service due to malformed ACL selectors in Redis (CVE-2024-31227)
  • redis: Lua library commands may lead to stack overflow and RCE in Redis (CVE-2024-31449)
  • redis: Denial-of-service due to unbounded pattern matching in Redis (CVE-2024-31228)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:10869
Updated
2026-11-02
OSVALSA-2025:0595 No score

Important: redis:6 security update

Redis is an advanced key-value store. It is often referred to as a data-structure server since keys can contain strings, hashes, lists, sets, and sorted sets. For performance, Redis works with an in-memory data set. You can persist it either by dumping the data set to disk every once in a while, or by appending each command to a log.

Security Fix(es):

  • redis: Integer overflow in the Redis HRANDFIELD and ZRANDMEMBER commands may lead to denial-of-service (CVE-2023-22458)
  • redis: Integer overflow in the Redis SETRANGE and SORT/SORT_RO commands may result with false OOM panic (CVE-2022-35977)
  • redis: Specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands can trigger an integer overflow (CVE-2022-36021)
  • redis: String matching commands (like SCAN or KEYS) with a specially crafted pattern to trigger a denial-of-service attack (CVE-2023-25155)
  • redis: Insufficient validation of HINCRBYFLOAT command (CVE-2023-28856)
  • redis: heap overflow in the lua cjson and cmsgpack libraries (CVE-2022-24834)
  • redis: possible bypass of Unix socket permissions on startup (CVE-2023-45145)
  • redis: Lua library commands may lead to stack overflow and RCE in Redis (CVE-2024-31449)
  • redis: Denial-of-service due to unbounded pattern matching in Redis (CVE-2024-31228)
  • redis: Redis' Lua library commands may lead to remote code execution (CVE-2024-46981)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2025:0595
Updated
2026-11-02
OSVALSA-2025:0693 No score

Important: redis security update

Redis is an advanced key-value store. It is often referred to as a data-structure server since keys can contain strings, hashes, lists, sets, and sorted sets. For performance, Redis works with an in-memory data set. You can persist it either by dumping the data set to disk every once in a while, or by appending each command to a log.

Security Fix(es):

  • redis: heap overflow in the lua cjson and cmsgpack libraries (CVE-2022-24834)
  • redis: possible bypass of Unix socket permissions on startup (CVE-2023-45145)
  • redis: Lua library commands may lead to stack overflow and RCE in Redis (CVE-2024-31449)
  • redis: Denial-of-service due to unbounded pattern matching in Redis (CVE-2024-31228)
  • redis: Redis' Lua library commands may lead to remote code execution (CVE-2024-46981)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2025:0693
Updated
2026-11-02
OSVBIT-keydb-2023-45145 No score

Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window.

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. 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.

Record
BIT-keydb-2023-45145
Updated
2026-11-02
OSVBIT-redis-2023-45145 No score

Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window.

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. 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.

Record
BIT-redis-2023-45145
Updated
2026-11-02
OSVBIT-valkey-2023-45145 No score

Redis Unix-domain socket may have be exposed with the wrong permissions for a short time window.

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.

Record
BIT-valkey-2023-45145
Updated
2026-11-02
OSVMGASA-2023-0301 No score

Updated redis package fixes a security vulnerability

Redis upstream published a fix for CVE-2023-45145.

CVE-2023-45145: The wrong order of listen(2) and chmod(2) calls creates a race condition that can be used by another process to bypass desired Unix socket permissions on startup.

Record
MGASA-2023-0301
Updated
2026-11-02
OSVopenSUSE-SU-2024:13354-1 No score

redis-7.2.2-1.1 on GA media

These are all security issues fixed in the redis-7.2.2-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13354-1
Updated
2026-11-02
OSVRLSA-2025:0693 No score

Important: redis security update

Redis is an advanced key-value store. It is often referred to as a data-structure server since keys can contain strings, hashes, lists, sets, and sorted sets. For performance, Redis works with an in-memory data set. You can persist it either by dumping the data set to disk every once in a while, or by appending each command to a log.

Security Fix(es):

  • redis: heap overflow in the lua cjson and cmsgpack libraries (CVE-2022-24834)

  • redis: possible bypass of Unix socket permissions on startup (CVE-2023-45145)

  • redis: Lua library commands may lead to stack overflow and RCE in Redis (CVE-2024-31449)

  • redis: Denial-of-service due to unbounded pattern matching in Redis (CVE-2024-31228)

  • redis: Redis' Lua library commands may lead to remote code execution (CVE-2024-46981)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2025:0693
Updated
2026-11-02
OSVSUSE-SU-2023:4290-1 No score

Security update for redis

This update for redis fixes the following issues:

  • CVE-2023-45145: Fixed a potential permission bypass due to a race condition during UNIX socket creation (bsc#1216376).
Record
SUSE-SU-2023:4290-1
Updated
2026-11-02
OSVSUSE-SU-2023:4376-1 No score

Security update for redis

This update for redis fixes the following issues:

  • CVE-2023-45145: Fixed a potential permission bypass due to a race condition during UNIX socket creation (bsc#1216376).
Record
SUSE-SU-2023:4376-1
Updated
2026-11-02
OSVSUSE-SU-2024:0200-1 No score

Security update for redis7

This update for redis7 fixes the following issues:

  • CVE-2023-45145: Fixed a potential permission bypass due to a race condition during UNIX socket creation (bsc#1216376).

The following non-security issues were fixed:

  • Redis services are no longer disabled after an upgrade (bsc#1212119).
Record
SUSE-SU-2024:0200-1
Updated
2026-11-02
OSVUSN-6531-1 No score

redis vulnerabilities

Seiya Nakata and Yudai Fujiwara discovered that Redis incorrectly handled certain specially crafted Lua scripts. An attacker could possibly use this issue to cause heap corruption and execute arbitrary code. (CVE-2022-24834)

SeungHyun Lee discovered that Redis incorrectly handled specially crafted commands. An attacker could possibly use this issue to trigger an integer overflow, which might cause Redis to allocate impossible amounts of memory, resulting in a denial of service via an application crash. (CVE-2022-35977)

Tom Levy discovered that Redis incorrectly handled crafted string matching patterns. An attacker could possibly use this issue to cause Redis to hang, resulting in a denial of service. (CVE-2022-36021)

Yupeng Yang discovered that Redis incorrectly handled specially crafted commands. An attacker could possibly use this issue to trigger an integer overflow, resulting in a denial of service via an application crash. (CVE-2023-25155)

It was discovered that Redis incorrectly handled a specially crafted command. An attacker could possibly use this issue to create an invalid hash field, which could potentially cause Redis to crash on future access. (CVE-2023-28856)

Alexander Aleksandrovič Klimov discovered that Redis incorrectly listened to a Unix socket before setting proper permissions. A local attacker could possibly use this issue to connect, bypassing intended permissions. (CVE-2023-45145)

Record
USN-6531-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
redis
Alpine:v3.15
2.6.0 up to 6.2.14-r0
6.2.14-r0
redis
Alpine:v3.16
2.6.0 up to 7.0.14-r0
7.0.14-r0
redis
Alpine:v3.17
2.6.0 up to 7.0.14-r0
7.0.14-r0
redis
Alpine:v3.18
2.6.0 up to 7.0.14-r0
7.0.14-r0
redis
Alpine:v3.19
2.6.0 up to 7.2.2-r0
7.2.2-r0
redis
Alpine:v3.20
2.6.0 up to 7.2.2-r0
7.2.2-r0
redis
Alpine:v3.21
2.6.0 up to 7.2.2-r0
7.2.2-r0
redis
Alpine:v3.22
2.6.0 up to 7.2.2-r0
7.2.2-r0
redis
Alpine:v3.23
2.6.0 up to 7.2.2-r0
7.2.2-r0
redis
Alpine:v3.24
2.6.0 up to 7.2.2-r0
7.2.2-r0
Show 71 moreShow less
Affected packages
PackageAffectedFixed
redis
AlmaLinux:9
From an advisory covering 5 CVEs
before 7.2.6-1.module_el9.5.0+130+36ae7635
7.2.6-1.module_el9.5.0+130+36ae7635
redis-devel
AlmaLinux:9
From an advisory covering 5 CVEs
before 7.2.6-1.module_el9.5.0+130+36ae7635
7.2.6-1.module_el9.5.0+130+36ae7635
redis-doc
AlmaLinux:9
From an advisory covering 5 CVEs
before 7.2.6-1.module_el9.5.0+130+36ae7635
7.2.6-1.module_el9.5.0+130+36ae7635
redis
AlmaLinux:8
From an advisory covering 10 CVEs
before 6.2.17-1.module_el8.10.0+3946+3de613d5
6.2.17-1.module_el8.10.0+3946+3de613d5
redis-devel
AlmaLinux:8
From an advisory covering 10 CVEs
before 6.2.17-1.module_el8.10.0+3946+3de613d5
6.2.17-1.module_el8.10.0+3946+3de613d5
redis-doc
AlmaLinux:8
From an advisory covering 10 CVEs
before 6.2.17-1.module_el8.10.0+3946+3de613d5
6.2.17-1.module_el8.10.0+3946+3de613d5
redis
AlmaLinux:9
From an advisory covering 5 CVEs
before 6.2.17-1.el9_5
6.2.17-1.el9_5
redis-devel
AlmaLinux:9
From an advisory covering 5 CVEs
before 6.2.17-1.el9_5
6.2.17-1.el9_5
redis-doc
AlmaLinux:9
From an advisory covering 5 CVEs
before 6.2.17-1.el9_5
6.2.17-1.el9_5
redis
Azure Linux:2
before 6.2.14-1
6.2.14-1
redis
Alpaquita:23
7.0.9-r0 up to 7.0.14-r0
7.0.14-r0
redis
Alpaquita:stream
7.0.9-r0 up to 7.2.2-r0
7.2.2-r0
keydb
Bitnami
2.6.0 up to 6.2.14, 7.0.0 up to 7.0.14, 7.2.0 up to 7.2.2
6.2.147.0.147.2.2
redis
Bitnami
2.6.0 up to 6.2.14, 7.0.0 up to 7.0.14, 7.2.0 up to 7.2.2
6.2.147.0.147.2.2
valkey
Bitnami
2.6.0 up to 6.2.14, 7.0.0 up to 7.0.14, 7.2.0 up to 7.2.2
6.2.147.0.147.2.2
redis
Debian:12
before 5:7.0.15-1~deb12u1, plus listed versions
5:7.0.11-15:7.0.11-1+deb12u15:7.0.12-15:7.0.12-25:7.0.13-15:7.0.13-25:7.0.14-15:7.0.14-2
5:7.0.15-1~deb12u1
redis
Debian:13
before 5:7.0.14-1
5:7.0.14-1
redis
Debian:14
before 5:7.0.14-1
5:7.0.14-1
redis
Debian:10
before 5:5.0.14-1+deb10u5, plus listed versions
5:5.0.14-1+deb10u15:5.0.14-1+deb10u25:5.0.14-1+deb10u35:5.0.14-1+deb10u45:5.0.3-4
Show 18 moreShow less
5:5.0.3-4+deb10u15:5.0.3-4+deb10u25:5.0.3-4+deb10u35:5.0.4-15:5.0.5-15:5.0.5-25:5.0.5-2~bpo10+15:5.0.6-15:5.0.6-1~bpo10+15:5.0.7-15:5.0.7-1~bpo10+15:5.0.7-25:5.0.7-35:5.0.7-45:5.0.7-55:5.0.7-65:5.0.7-75:5.0.7-7~bpo10+1
5:5.0.14-1+deb10u5
redis
Debian:11
From an advisory covering 5 CVEs
before 5:6.0.16-1+deb11u3, plus listed versions
5:6.0.15-15:6.0.16-15:6.0.16-1+deb11u15:6.0.16-1+deb11u25:6.0.16-1~bpo10+15:6.0.16-1~bpo11+1
5:6.0.16-1+deb11u3
redis
Debian:12
From an advisory covering 5 CVEs
before 5:7.0.15-1~deb12u1, plus listed versions
5:7.0.11-15:7.0.11-1+deb12u15:7.0.12-15:7.0.12-25:7.0.13-15:7.0.13-25:7.0.14-15:7.0.14-2
5:7.0.15-1~deb12u1
redis
Mageia:9
before 7.0.14-1.mga9
7.0.14-1.mga9
redis
openEuler:20.03-LTS-SP4
From an advisory covering 3 CVEs
before 4.0.11-20.oe2003sp4
4.0.11-20.oe2003sp4
redis
openEuler:22.03-LTS-SP1
From an advisory covering 3 CVEs
before 4.0.14-7.oe2203sp1
4.0.14-7.oe2203sp1
redis
openEuler:24.03-LTS
From an advisory covering 3 CVEs
before 4.0.14-7.oe2403
4.0.14-7.oe2403
redis
openEuler:22.03-LTS-SP4
From an advisory covering 3 CVEs
before 4.0.14-7.oe2203sp4
4.0.14-7.oe2203sp4
redis
openEuler:22.03-LTS-SP3
From an advisory covering 3 CVEs
before 4.0.14-7.oe2203sp3
4.0.14-7.oe2203sp3
redis
Red Hat:enterprise_linux:9::appstream
From an advisory covering 5 CVEs
before 0:7.2.6-1.module+el9.5.0+22422+63e067d8
0:7.2.6-1.module+el9.5.0+22422+63e067d8
redis-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 5 CVEs
before 0:7.2.6-1.module+el9.5.0+22422+63e067d8
0:7.2.6-1.module+el9.5.0+22422+63e067d8
redis-debugsource
Red Hat:enterprise_linux:9::appstream
From an advisory covering 5 CVEs
before 0:7.2.6-1.module+el9.5.0+22422+63e067d8
0:7.2.6-1.module+el9.5.0+22422+63e067d8
redis-devel
Red Hat:enterprise_linux:9::appstream
From an advisory covering 5 CVEs
before 0:7.2.6-1.module+el9.5.0+22422+63e067d8
0:7.2.6-1.module+el9.5.0+22422+63e067d8
redis-doc
Red Hat:enterprise_linux:9::appstream
From an advisory covering 5 CVEs
before 0:7.2.6-1.module+el9.5.0+22422+63e067d8
0:7.2.6-1.module+el9.5.0+22422+63e067d8
redis
Red Hat:enterprise_linux:8::appstream
From an advisory covering 10 CVEs
before 0:6.2.17-1.module+el8.10.0+22680+748527fd
0:6.2.17-1.module+el8.10.0+22680+748527fd
redis-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 10 CVEs
before 0:6.2.17-1.module+el8.10.0+22680+748527fd
0:6.2.17-1.module+el8.10.0+22680+748527fd
redis-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 10 CVEs
before 0:6.2.17-1.module+el8.10.0+22680+748527fd
0:6.2.17-1.module+el8.10.0+22680+748527fd
redis-devel
Red Hat:enterprise_linux:8::appstream
From an advisory covering 10 CVEs
before 0:6.2.17-1.module+el8.10.0+22680+748527fd
0:6.2.17-1.module+el8.10.0+22680+748527fd
redis-doc
Red Hat:enterprise_linux:8::appstream
From an advisory covering 10 CVEs
before 0:6.2.17-1.module+el8.10.0+22680+748527fd
0:6.2.17-1.module+el8.10.0+22680+748527fd
redis
Red Hat:enterprise_linux:9::appstream
From an advisory covering 5 CVEs
before 0:6.2.17-1.el9_5
0:6.2.17-1.el9_5
redis-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 5 CVEs
before 0:6.2.17-1.el9_5
0:6.2.17-1.el9_5
redis-debugsource
Red Hat:enterprise_linux:9::appstream
From an advisory covering 5 CVEs
before 0:6.2.17-1.el9_5
0:6.2.17-1.el9_5
redis-devel
Red Hat:enterprise_linux:9::appstream
From an advisory covering 5 CVEs
before 0:6.2.17-1.el9_5
0:6.2.17-1.el9_5
redis-doc
Red Hat:enterprise_linux:9::appstream
From an advisory covering 5 CVEs
before 0:6.2.17-1.el9_5
0:6.2.17-1.el9_5
redis
Rocky Linux:8
From an advisory covering 10 CVEs
before 0:6.2.17-1.module+el8.10.0+1923+5b85c6a7
0:6.2.17-1.module+el8.10.0+1923+5b85c6a7
redis
Rocky Linux:9
From an advisory covering 5 CVEs
before 0:6.2.17-1.el9_5
0:6.2.17-1.el9_5
redis
SUSE:Linux Enterprise Module for Server Applications 15 SP4
before 6.2.6-150400.3.25.1
6.2.6-150400.3.25.1
redis
SUSE:Linux Enterprise Module for Server Applications 15 SP5
before 6.2.6-150400.3.25.1
6.2.6-150400.3.25.1
redis
openSUSE:Leap 15.4
before 6.2.6-150400.3.25.1
6.2.6-150400.3.25.1
redis
openSUSE:Leap 15.5
before 6.2.6-150400.3.25.1
6.2.6-150400.3.25.1
redis
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
before 6.0.14-150200.6.29.1
6.0.14-150200.6.29.1
redis
SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS
before 6.0.14-150200.6.29.1
6.0.14-150200.6.29.1
redis
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
before 6.0.14-150200.6.29.1
6.0.14-150200.6.29.1
redis
SUSE:Linux Enterprise Server 15 SP2-LTSS
before 6.0.14-150200.6.29.1
6.0.14-150200.6.29.1
redis
SUSE:Linux Enterprise Server 15 SP3-LTSS
before 6.0.14-150200.6.29.1
6.0.14-150200.6.29.1
redis
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
before 6.0.14-150200.6.29.1
6.0.14-150200.6.29.1
redis
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
before 6.0.14-150200.6.29.1
6.0.14-150200.6.29.1
redis
SUSE:Manager Proxy 4.2
before 6.0.14-150200.6.29.1
6.0.14-150200.6.29.1
redis
SUSE:Manager Server 4.2
before 6.0.14-150200.6.29.1
6.0.14-150200.6.29.1
redis
SUSE:Enterprise Storage 7.1
before 6.0.14-150200.6.29.1
6.0.14-150200.6.29.1
redis7
SUSE:Linux Enterprise Module for Server Applications 15 SP5
before 7.0.8-150500.3.9.1
7.0.8-150500.3.9.1
redis7
openSUSE:Leap 15.5
before 7.0.8-150500.3.9.1
7.0.8-150500.3.9.1
redis
Ubuntu:Pro:14.04:LTS
before 2:2.8.4-2ubuntu0.2+esm3, plus listed versions
2:2.6.13-12:2.6.16-32:2.8.0-12:2.8.2-12:2.8.4-22:2.8.4-2ubuntu0.22:2.8.4-2ubuntu0.2+esm12:2.8.4-2ubuntu0.2+esm2
2:2.8.4-2ubuntu0.2+esm3
redis
Ubuntu:Pro:16.04:LTS
before 2:3.0.6-1ubuntu0.4+esm2, plus listed versions
2:3.0.3-32:3.0.5-12:3.0.5-22:3.0.5-32:3.0.5-4
Show 5 moreShow less
2:3.0.6-12:3.0.6-1ubuntu0.22:3.0.6-1ubuntu0.32:3.0.6-1ubuntu0.42:3.0.6-1ubuntu0.4+esm1
2:3.0.6-1ubuntu0.4+esm2
redis
Ubuntu:Pro:18.04:LTS
before 5:4.0.9-1ubuntu0.2+esm4, plus listed versions
4:4.0.1-74:4.0.2-64:4.0.2-95:4.0.5-15:4.0.6-1
Show 9 moreShow less
5:4.0.6-25:4.0.7-15:4.0.8-15:4.0.8-25:4.0.9-15:4.0.9-1ubuntu0.15:4.0.9-1ubuntu0.25:4.0.9-1ubuntu0.2+esm25:4.0.9-1ubuntu0.2+esm3
5:4.0.9-1ubuntu0.2+esm4
redis
Ubuntu:Pro:20.04:LTS
before 5:5.0.7-2ubuntu0.1+esm2, plus listed versions
5:5.0.5-2build15:5.0.6-15:5.0.7-15:5.0.7-25:5.0.7-2ubuntu0.1~esm15:5.0.7-2ubuntu0.15:5.0.7-2ubuntu0.1+esm1
5:5.0.7-2ubuntu0.1+esm2
redis
Ubuntu:Pro:22.04:LTS
before 5:6.0.16-1ubuntu1+esm1, plus listed versions
5:6.0.15-15:6.0.16-15:6.0.16-1build15:6.0.16-1ubuntu1
5:6.0.16-1ubuntu1+esm1
redis
Ubuntu:Pro:14.04:LTS
From an advisory covering 6 CVEs
before 2:2.8.4-2ubuntu0.2+esm3, plus listed versions
2:2.6.13-12:2.6.16-32:2.8.0-12:2.8.2-12:2.8.4-22:2.8.4-2ubuntu0.22:2.8.4-2ubuntu0.2+esm12:2.8.4-2ubuntu0.2+esm2
2:2.8.4-2ubuntu0.2+esm3
redis
Ubuntu:Pro:16.04:LTS
From an advisory covering 6 CVEs
before 2:3.0.6-1ubuntu0.4+esm2, plus listed versions
2:3.0.3-32:3.0.5-12:3.0.5-22:3.0.5-32:3.0.5-4
Show 5 moreShow less
2:3.0.6-12:3.0.6-1ubuntu0.22:3.0.6-1ubuntu0.32:3.0.6-1ubuntu0.42:3.0.6-1ubuntu0.4+esm1
2:3.0.6-1ubuntu0.4+esm2
redis
Ubuntu:Pro:18.04:LTS
From an advisory covering 6 CVEs
before 5:4.0.9-1ubuntu0.2+esm4, plus listed versions
4:4.0.1-74:4.0.2-64:4.0.2-95:4.0.5-15:4.0.6-1
Show 9 moreShow less
5:4.0.6-25:4.0.7-15:4.0.8-15:4.0.8-25:4.0.9-15:4.0.9-1ubuntu0.15:4.0.9-1ubuntu0.25:4.0.9-1ubuntu0.2+esm25:4.0.9-1ubuntu0.2+esm3
5:4.0.9-1ubuntu0.2+esm4
redis
Ubuntu:Pro:20.04:LTS
From an advisory covering 6 CVEs
before 5:5.0.7-2ubuntu0.1+esm2, plus listed versions
5:5.0.5-2build15:5.0.6-15:5.0.7-15:5.0.7-25:5.0.7-2ubuntu0.1~esm15:5.0.7-2ubuntu0.15:5.0.7-2ubuntu0.1+esm1
5:5.0.7-2ubuntu0.1+esm2
redis
Ubuntu:Pro:22.04:LTS
From an advisory covering 6 CVEs
before 5:6.0.16-1ubuntu1+esm1, plus listed versions
5:6.0.15-15:6.0.16-15:6.0.16-1build15:6.0.16-1ubuntu1
5:6.0.16-1ubuntu1+esm1
redis
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 7.2.2-1.1
7.2.2-1.1

History

History
RecordedChangedSources
affected, facts
affectedOSV
aliases, publishedEUVD
first indexedCVE List, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2023-45145 is a low vulnerability (CVSS 3.6) in Redis, published October 18, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.44%, the 38th percentile. Fixed in redis 6.2.14-r0.

References

Show 123 moreShow less
MoveEnter Open