Skip to content

Fix issue of listen before chmod on Unix sockets (CVE-2023-45145)#908

Open
npt-1707 wants to merge 1 commit intoSnapchat:mainfrom
npt-1707:fix-CVE-2023-45145
Open

Fix issue of listen before chmod on Unix sockets (CVE-2023-45145)#908
npt-1707 wants to merge 1 commit intoSnapchat:mainfrom
npt-1707:fix-CVE-2023-45145

Conversation

@npt-1707
Copy link

Description
This PR fixes a potential vulnerability in anetListen() in src/anet.c that was cloned from redid but did not receive the security patch. The original issue was reported and fixed under redis/redis@03345dd.
This PR applies the same patch to eliminate the vulnerability.

References
https://nvd.nist.gov/vuln/detail/CVE-2023-45145
redis/redis@03345dd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant