CVE-2023-5178
Last modified
CVE-2023-5178 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. A use-after-free vulnerability was found in drivers/nvme/target/tcp.c` in `nvmet_tcp_free_crypto` due to a logical bug in the NVMe/TCP subsystem in the Linux kernel. This issue may allow a malicious user to cause a use-after-free and double-free problem, which may permit remote code execution or lead to local privilege escalation.. EPSS estimates a 9.14% chance of exploitation in the next 30 days.
Description
A use-after-free vulnerability was found in drivers/nvme/target/tcp.c` in `nvmet_tcp_free_crypto` due to a logical bug in the NVMe/TCP subsystem in the Linux kernel. This issue may allow a malicious user to cause a use-after-free and double-free problem, which may permit remote code execution or lead to local privilege escalation.
Metrics
CVSS:3.1/AV:N/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.0, < 5.4.260 |
| Linux | Linux Kernel | >= 5.5, < 5.10.199 |
| Linux | Linux Kernel | >= 5.11, < 5.15.137 |
| Linux | Linux Kernel | >= 5.16, < 6.1.60 |
| Linux | Linux Kernel | >= 6.2, < 6.5.9 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
| Netapp | Active Iq Unified Manager | All versions |
| Netapp | Solidfire \& Hci Management Node | All versions |
| Netapp | Solidfire \& Hci Storage Node | All versions |
References
- https://access.redhat.com/errata/RHSA-2023:7370Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7379Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7418Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7548Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7549Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7551Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7554Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7557Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7559Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0340Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0378Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0386Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0412Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0431Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0432Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0461Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0554Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0575Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1268Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1269Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1278Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-5178Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2241924Issue Tracking, Third Party Advisory
- https://lore.kernel.org/linux-nvme/20231002105428.226515-1-sagi@grimberg.me/Mailing List, Patch, Vendor Advisory
- https://access.redhat.com/errata/RHSA-2023:7370Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7379Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7418Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7548Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7549Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7551Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7554Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7557Third Party Advisory
- https://access.redhat.com/errata/RHSA-2023:7559Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0340Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0378Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0386Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0412Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0431Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0432Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0461Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0554Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:0575Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1268Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1269Third Party Advisory
- https://access.redhat.com/errata/RHSA-2024:1278Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2023-5178Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2241924Issue Tracking, Third Party Advisory
- https://lore.kernel.org/linux-nvme/20231002105428.226515-1-sagi@grimberg.me/Mailing List, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-5178?
How severe is CVE-2023-5178?
How do I fix CVE-2023-5178?
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-51774The json-jwt (aka JSON::JWT) gem 1.16.3 for Ruby sometimes a…8.4
- CVE-2023-51775The jose4j component before 0.9.4 for Java allows attackers …6.5
- CVE-2023-51776Improper privilege management in Jungo WinDriver before 12.1…7.8
- CVE-2023-51777Denial of Service (DoS) vulnerability in Jungo WinDriver bef…5.5
- CVE-2023-51778Out-of-Bounds Write vulnerability in Jungo WinDriver before …5.5
- CVE-2023-51779bt_sock_recvmsg in net/bluetooth/af_bluetooth.c in the Linux…7
- CVE-2023-51780An issue was discovered in the Linux kernel before 6.6.8. do…7
- CVE-2023-51781An issue was discovered in the Linux kernel before 6.6.8. at…7
- CVE-2023-51782An issue was discovered in the Linux kernel before 6.6.8. ro…7
- CVE-2023-51784Improper Control of Generation of Code ('Code Injection') vu…9.8
- CVE-2023-51785Deserialization of Untrusted Data vulnerability in Apache In…7.5
- CVE-2023-51786An issue was discovered in Lustre versions 2.13.x, 2.14.x, a…9.1
Are you affected by CVE-2023-5178?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
