CVE-2023-53333
Last modified
CVE-2023-53333 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one Eric Dumazet says: nf_conntrack_dccp_packet() has an unique: dh = skb_header_pointer(skb, dataoff, sizeof(_dh), &_dh); And nothing more is 'pulled' from the packet, depending on the content. dh->dccph_doff, and/or dh->dccph_x ...) So dccp_ack_seq() is happily reading stuff past the _dh buffer. BUG: KASAN: stack-out-of-bounds in nf_conntrack_dccp_packet+0x1134/0x11c0 Read of size 4 at addr ffff000128f66e0c by task syz-executor.2/29371 [..] Fix this by increasing the stack buffer to also include room for the extra sequence numbers and all the known dccp packet type headers, then pull again after the initial validation of the basic header. While at it, mark packets invalid that lack 48bit sequence bit but where RFC says the type MUST use them. Compile tested only. v2: first skb_header_pointer() now needs to adjust the size to only pull the generic header. (Eric) Heads-up: I intend to remove dccp conntrack support later this year.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one Eric Dumazet says: nf_conntrack_dccp_packet() has an unique: dh = skb_header_pointer(skb, dataoff, sizeof(_dh), &_dh); And nothing more is 'pulled' from the packet, depending on the content. dh->dccph_doff, and/or dh->dccph_x ...) So dccp_ack_seq() is happily reading stuff past the _dh buffer. BUG: KASAN: stack-out-of-bounds in nf_conntrack_dccp_packet+0x1134/0x11c0 Read of size 4 at addr ffff000128f66e0c by task syz-executor.2/29371 [..] Fix this by increasing the stack buffer to also include room for the extra sequence numbers and all the known dccp packet type headers, then pull again after the initial validation of the basic header. While at it, mark packets invalid that lack 48bit sequence bit but where RFC says the type MUST use them. Compile tested only. v2: first skb_header_pointer() now needs to adjust the size to only pull the generic header. (Eric) Heads-up: I intend to remove dccp conntrack support later this year.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 2.6.26, < 5.4.251 |
| Linux | Linux Kernel | >= 5.5, < 5.10.188 |
| Linux | Linux Kernel | >= 5.11, < 5.15.121 |
| Linux | Linux Kernel | >= 5.16, < 6.1.39 |
| Linux | Linux Kernel | >= 6.2, < 6.3.13 |
| Linux | Linux Kernel | >= 6.4, < 6.4.4 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-53333?
How severe is CVE-2023-53333?
How do I fix CVE-2023-53333?
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-53328In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53329In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2023-5333Mattermost fails to deduplicate input IDs allowing a simple …6.5
- CVE-2023-53330In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53331In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53332In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53334In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53335In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53336In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53337In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2023-53338In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2023-53339In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2023-53333?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
