CVE-2023-0240
Last modified
CVE-2023-0240 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. There is a logic error in io_uring's implementation which can be used to trigger a use-after-free vulnerability leading to privilege escalation. In the io_prep_async_work function the assumption that the last io_grab_identity call cannot return false is not true, and in this case the function will use the init_cred or the previous linked requests identity to do operations instead of using the current identity. This can lead to reference counting issues causing use-after-free. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
There is a logic error in io_uring's implementation which can be used to trigger a use-after-free vulnerability leading to privilege escalation. In the io_prep_async_work function the assumption that the last io_grab_identity call cannot return false is not true, and in this case the function will use the init_cred or the previous linked requests identity to do operations instead of using the current identity. This can lead to reference counting issues causing use-after-free. We recommend upgrading past version 5.10.161.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 5.10 |
References
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/io_uring?h=linux-5.10.y&id=788d0824269bef539fe31a785b1517882eafed93Mailing List, Patch, Vendor Advisory
- https://github.com/gregkh/linux/commit/1e6fa5216a0e59ef02e8b6b40d553238a3b81d49Patch, Third Party Advisory
- https://kernel.dance/#788d0824269bef539fe31a785b1517882eafed93Patch, Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/io_uring?h=linux-5.10.y&id=788d0824269bef539fe31a785b1517882eafed93Mailing List, Patch, Vendor Advisory
- https://github.com/gregkh/linux/commit/1e6fa5216a0e59ef02e8b6b40d553238a3b81d49Patch, Third Party Advisory
- https://kernel.dance/#788d0824269bef539fe31a785b1517882eafed93Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-0240?
How severe is CVE-2023-0240?
How do I fix CVE-2023-0240?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-0233The ActiveCampaign WordPress plugin before 8.1.12 does not v…5.4
- CVE-2023-0234The SiteGround Security WordPress plugin before 1.3.1 does n…8.8
- CVE-2023-0235Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2023-0236The Tutor LMS WordPress plugin before 2.0.10 does not saniti…6.1
- CVE-2023-0237Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2023-0238Due to lack of a security policy, the WARP Mobile Client (<=…5.5
- CVE-2023-0241pgAdmin 4 versions prior to v6.19 contains a directory trave…6.5
- CVE-2023-0242Rapid7 Velociraptor allows users to be created with differen…8.8
- CVE-2023-0243A vulnerability classified as critical has been found in Tuz…9.8
- CVE-2023-0244A vulnerability classified as critical was found in TuziCMS …9.8
- CVE-2023-0245A vulnerability, which was classified as critical, has been …9.8
- CVE-2023-0246A vulnerability, which was classified as problematic, was fo…5.4
Are you affected by CVE-2023-0240?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
