CVE-2023-4207
Last modified
CVE-2023-4207 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation. When fw_change() is called on an existing filter, the whole tcf_result struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcf_unbind_filter() is always called on the old instance in the success path, decreasing filter_cnt of the still referenced class and allowing it to be deleted, leading to a use-after-free. We recommend upgrading past commit 76e42ae831991c828cffa8c37736ebfb831ad5ec.. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
Description
A use-after-free vulnerability in the Linux kernel's net/sched: cls_fw component can be exploited to achieve local privilege escalation. When fw_change() is called on an existing filter, the whole tcf_result struct is always copied into the new instance of the filter. This causes a problem when updating a filter bound to a class, as tcf_unbind_filter() is always called on the old instance in the success path, decreasing filter_cnt of the still referenced class and allowing it to be deleted, leading to a use-after-free. We recommend upgrading past commit 76e42ae831991c828cffa8c37736ebfb831ad5ec.
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 | >= 3.18, < 4.14.326 |
| Linux | Linux Kernel | >= 4.15, < 4.19.295 |
| Linux | Linux Kernel | >= 4.20, < 5.4.253 |
| Linux | Linux Kernel | >= 5.5, < 5.10.190 |
| Linux | Linux Kernel | >= 5.11, < 5.15.126 |
| Linux | Linux Kernel | >= 5.16, < 6.1.45 |
| Linux | Linux Kernel | >= 6.2, < 6.4.10 |
| Debian | Debian Linux | 12.0 |
References
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=76e42ae831991c828cffa8c37736ebfb831ad5ecIssue Tracking, Mailing List, Patch, Vendor Advisory
- https://kernel.dance/76e42ae831991c828cffa8c37736ebfb831ad5ecPatch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/01/msg00004.htmlMailing List, Third Party Advisory, VDB Entry
- https://www.debian.org/security/2023/dsa-5492Third Party Advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=76e42ae831991c828cffa8c37736ebfb831ad5ecIssue Tracking, Mailing List, Patch, Vendor Advisory
- https://kernel.dance/76e42ae831991c828cffa8c37736ebfb831ad5ecPatch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/01/msg00004.htmlMailing List, Third Party Advisory, VDB Entry
- https://www.debian.org/security/2023/dsa-5492Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-4207?
How severe is CVE-2023-4207?
How do I fix CVE-2023-4207?
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-42064PDF-XChange Editor U3D File Parsing Out-Of-Bounds Read Remot…7.8
- CVE-2023-42065PDF-XChange Editor JP2 File Parsing Out-Of-Bounds Read Infor…5.5
- CVE-2023-42066PDF-XChange Editor J2K File Parsing Out-Of-Bounds Read Infor…5.5
- CVE-2023-42067PDF-XChange Editor JB2 File Parsing Out-Of-Bounds Read Infor…5.5
- CVE-2023-42068PDF-XChange Editor JB2 File Parsing Out-Of-Bounds Read Infor…5.5
- CVE-2023-42069PDF-XChange Editor PDF File Parsing Stack-based Buffer Overf…7.8
- CVE-2023-42070PDF-XChange Editor Doc Object Out-Of-Bounds Read Information…5.5
- CVE-2023-42071PDF-XChange Editor PDF File Parsing Out-Of-Bounds Write Remo…7.8
- CVE-2023-42072PDF-XChange Editor JPC File Parsing Out-Of-Bounds Read Infor…5.5
- CVE-2023-42073PDF-XChange Editor Doc Object Out-Of-Bounds Read Information…5.5
- CVE-2023-42074PDF-XChange Editor addScript Type Confusion Remote Code Exec…7.8
- CVE-2023-42075PDF-XChange Editor JPG File Parsing Use-After-Free Remote Co…7.8
Are you affected by CVE-2023-4207?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
