CVE-2024-49948
"Virtio Net Header Disorder"
Description
In the Linux kernel, the following vulnerability has been resolved: net: add more sanity checks to qdisc_pkt_len_init() One path takes care of SKB_GSO_DODGY, assuming skb->len is bigger than hdr_len. virtio_net_hdr_to_skb() does not fully dissect TCP headers, it only make sure it is at least 20 bytes. It is possible for an user to provide a malicious 'GSO' packet, total length of 80 bytes. - 20 bytes of IPv4 header - 60 bytes TCP header - a small gso_size like 8 virtio_net_hdr_to_skb() would declare this packet as a normal GSO packet, because it would see 40 bytes of payload, bigger than gso_size. We need to make detect this case to not underflow qdisc_skb_cb(skb)->pkt_len.
INFO
Published Date :
Oct. 21, 2024, 6:15 p.m.
Last Modified :
Nov. 12, 2024, 9:19 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-49948
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-49948
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-49948
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 12, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/1eebe602a8d8264a12e35e39d0645fa88dbbacdd No Types Assigned https://git.kernel.org/stable/c/1eebe602a8d8264a12e35e39d0645fa88dbbacdd Patch Changed Reference Type https://git.kernel.org/stable/c/2415f465730e48b6e38da1c7c097317bf5dd2d20 No Types Assigned https://git.kernel.org/stable/c/2415f465730e48b6e38da1c7c097317bf5dd2d20 Patch Changed Reference Type https://git.kernel.org/stable/c/27a8fabc54d2f960d47bdfbebf2bdc6e8a92a4c4 No Types Assigned https://git.kernel.org/stable/c/27a8fabc54d2f960d47bdfbebf2bdc6e8a92a4c4 Patch Changed Reference Type https://git.kernel.org/stable/c/473426a1d53a68dd1e718e6cd00d57936993fa6c No Types Assigned https://git.kernel.org/stable/c/473426a1d53a68dd1e718e6cd00d57936993fa6c Patch Changed Reference Type https://git.kernel.org/stable/c/566a931a1436d0e0ad13708ea55479b95426213c No Types Assigned https://git.kernel.org/stable/c/566a931a1436d0e0ad13708ea55479b95426213c Patch Changed Reference Type https://git.kernel.org/stable/c/9b0ee571d20a238a22722126abdfde61f1b2bdd0 No Types Assigned https://git.kernel.org/stable/c/9b0ee571d20a238a22722126abdfde61f1b2bdd0 Patch Changed Reference Type https://git.kernel.org/stable/c/ab9a9a9e9647392a19e7a885b08000e89c86b535 No Types Assigned https://git.kernel.org/stable/c/ab9a9a9e9647392a19e7a885b08000e89c86b535 Patch Changed Reference Type https://git.kernel.org/stable/c/d7d1a28f5dd57b4d83def876f8d7b4403bd37df9 No Types Assigned https://git.kernel.org/stable/c/d7d1a28f5dd57b4d83def876f8d7b4403bd37df9 Patch Changed Reference Type https://git.kernel.org/stable/c/ff1c3cadcf405ab37dd91418a62a7acecf3bc5e2 No Types Assigned https://git.kernel.org/stable/c/ff1c3cadcf405ab37dd91418a62a7acecf3bc5e2 Patch Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.9 up to (excluding) 4.19.323 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.285 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.227 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.168 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.113 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.55 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.11 up to (excluding) 6.11.3 *cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 08, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/d7d1a28f5dd57b4d83def876f8d7b4403bd37df9 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/473426a1d53a68dd1e718e6cd00d57936993fa6c [No types assigned] -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: net: add more sanity checks to qdisc_pkt_len_init() One path takes care of SKB_GSO_DODGY, assuming skb->len is bigger than hdr_len. virtio_net_hdr_to_skb() does not fully dissect TCP headers, it only make sure it is at least 20 bytes. It is possible for an user to provide a malicious 'GSO' packet, total length of 80 bytes. - 20 bytes of IPv4 header - 60 bytes TCP header - a small gso_size like 8 virtio_net_hdr_to_skb() would declare this packet as a normal GSO packet, because it would see 40 bytes of payload, bigger than gso_size. We need to make detect this case to not underflow qdisc_skb_cb(skb)->pkt_len. Added Reference kernel.org https://git.kernel.org/stable/c/566a931a1436d0e0ad13708ea55479b95426213c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2415f465730e48b6e38da1c7c097317bf5dd2d20 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/27a8fabc54d2f960d47bdfbebf2bdc6e8a92a4c4 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/9b0ee571d20a238a22722126abdfde61f1b2bdd0 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ff1c3cadcf405ab37dd91418a62a7acecf3bc5e2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1eebe602a8d8264a12e35e39d0645fa88dbbacdd [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ab9a9a9e9647392a19e7a885b08000e89c86b535 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-49948
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-49948
weaknesses.