CVE-2023-52523
7.8 · HIGHIn the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets With a SOCKMAP/SOCKHASH map and an sk_msg program user can stee…
Overview
CVE-2023-52523 is a high-severity vulnerability. It was published on March 2, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).
This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.
Technical description
In the Linux kernel, the following vulnerability has been resolved:
bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets
With a SOCKMAP/SOCKHASH map and an sk_msg program user can steer messages
sent from one TCP socket (s1) to actually egress from another TCP
socket (s2):
tcp_bpf_sendmsg(s1) // = sk_prot->sendmsg
tcp_bpf_send_verdict(s1) // __SK_REDIRECT case
tcp_bpf_sendmsg_redir(s2)
tcp_bpf_push_locked(s2)
tcp_bpf_push(s2)
tcp_rate_check_app_limited(s2) // expects tcp_sock
tcp_sendmsg_locked(s2) // ditto
There is a hard-coded assumption in the call-chain, that the egress
socket (s2) is a TCP socket.
However in commit 122e6c79efe1 ("sock_map: Update sock type checks for
UDP") we have enabled redirects to non-TCP sockets. This was done for the
sake of BPF sk_skb programs. There was no indention to support sk_msg
send-to-egress use case.
As a result, attempts to send-to-egress through a non-TCP socket lead to a
crash due to invalid downcast from so
Remediation
Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
References
How CyberStrike helps
Reason, not just scan
It reasons through your app's logic the way a human pentester would, so it finds flaws signature scanners miss.
Learn moreVerified findings
Every finding is proven exploitable before you see it, which cuts the false positives that bury real risk.
Learn moreAI-driven DAST and SAST
Probe running apps and read source from one engine, so issues are caught before and after they ship.
Learn moreOpen source
Read exactly how it tests and what it reports. CyberStrike is open source and in early access.
View the repo
Frequently asked questions
What is CVE-2023-52523?
CVE-2023-52523 is a high-severity vulnerability. It was published on March 2, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).
How severe is CVE-2023-52523?
This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.
How do I fix or remediate CVE-2023-52523?
Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2023-52523?
CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-52523 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.
Related HIGH CVEs from 2023
View all- 8.9CVE-2022-4428
support_uri parameter in the WARP client local settings file (mdm.xml) lacked proper validation whic
View details - 8.9CVE-2023-26032
ZoneMinder is a free, open source Closed-circuit television software application for Linux which sup
View details - 8.9CVE-2023-26037
ZoneMinder is a free, open source Closed-circuit television software application for Linux which sup
View details - 8.9CVE-2023-26480
XWiki Platform is a generic wiki platform. Starting in version 12.10, a user without script rights c
View details - 8.9CVE-2023-29207
XWiki Commons are technical libraries common to several other top level XWiki projects. The Livetab
View details - 8.9CVE-2023-29508
XWiki Commons are technical libraries common to several other top level XWiki projects. A user witho
View details - 8.9CVE-2023-27524
Session Validation attacks in Apache Superset versions up to and including 2.0.1. Installations that
View details - 8.9CVE-2023-33961
Leantime is a lean open source project management system. Starting in version 2.3.21, an authenticat
View details - 8.9CVE-2023-30435
IBM Security Guardium 11.3, 11.4, and 11.5 is vulnerable to stored cross-site scripting. This vulner
View details - 8.9CVE-2023-39446
Thanks to the weaknesses that the web application has at the user management level, an attack
View details - 8.9CVE-2023-42819
JumpServer is an open source bastion host. Logged-in users can access and modify the contents of any
View details - 8.9CVE-2023-46723
lte-pic32-writer is a writer for PIC32 devices. In versions 0.0.1 and prior, those who use `sendto.t
View details