Bug 2244940 (CVE-2023-45145) - CVE-2023-45145 redis: possible bypass of Unix socket permissions on startup
Summary: CVE-2023-45145 redis: possible bypass of Unix socket permissions on startup
Keywords:
Status: NEW
Alias: CVE-2023-45145
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2244941 2244942 2247172
Blocks: 2244939
TreeView+ depends on / blocked
 
Reported: 2023-10-18 22:31 UTC by Robb Gatica
Modified: 2025-04-01 08:29 UTC (History)
34 users (show)

Fixed In Version: redis 7.2.2, redis 7.0.14, redis 6.2.14
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2025:0698 0 None None None 2025-01-27 02:35:12 UTC
Red Hat Product Errata RHSA-2024:10869 0 None None None 2024-12-05 21:41:05 UTC
Red Hat Product Errata RHSA-2025:0595 0 None None None 2025-01-22 10:35:56 UTC
Red Hat Product Errata RHSA-2025:0693 0 None None None 2025-01-27 01:25:16 UTC

Description Robb Gatica 2023-10-18 22:31:28 UTC
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.

Upstream have released version 7.0.14/7.2.2 to fix CVE-2023-45145.

Reference:
- https://github.com/redis/redis/releases/tag/7.0.14
- https://bugs.mageia.org/32406

Comment 1 Robb Gatica 2023-10-18 22:31:47 UTC
Created redis tracking bugs for this issue:

Affects: epel-all [bug 2244941]
Affects: fedora-all [bug 2244942]

Comment 4 errata-xmlrpc 2024-12-05 21:41:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:10869 https://access.redhat.com/errata/RHSA-2024:10869

Comment 5 errata-xmlrpc 2025-01-22 10:35:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:0595 https://access.redhat.com/errata/RHSA-2025:0595

Comment 6 errata-xmlrpc 2025-01-27 01:25:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:0693 https://access.redhat.com/errata/RHSA-2025:0693


Note You need to log in before you can comment on or make changes to this bug.