CVE-2024-42283
MediumIn the Linux kernel, the following vulnerability has been resolved: net: nexthop: Initialize all fields in dumped nexthops struct nexthop_grp contains two reserved fields that are not initialized by nla_put_nh_group(), and carry garbage. This can be observed e.g. with strace (edited for clarity): # ip nexthop add id 1 dev lo # ip nexthop add id 101 group 1 # strace -e recvmsg ip nexthop get id 101 ... recvmsg(... [{nla_len=12, nla_type=NHA_GROUP}, [{id=1, weight=0, resvd1=0x69, resvd2=0x67}]] ...) = 52 The fields are reserved and therefore not currently used. But as they are, they leak kernel memory, and the fact they are not just zero complicates repurposing of the fields for new ends. Initialize the full structure.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-908CVE-2024-42283 is classified as CWE-908
See CWE-908 on MITRE CWE for full details on this weakness type.
References
The following references provide additional information about CVE-2024-42283 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/1377de719652d868f5317ba8398b7e74c5f0430b
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5cc4d71dda2dd4f1520f40e634a527022e48ccd8
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6d745cd0e9720282cd291d36b9db528aea18add2
Frequently asked questions
-
What is CVE-2024-42283?
CVE-2024-42283 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . CVE-2024-42283 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-42283?
CVE-2024-42283 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-42283?
No patch is currently available for CVE-2024-42283. Monitor the NIST NVD and your Linux distribution's security advisories for updates.
-
Is CVE-2024-42283 actively exploited?
No — CVE-2024-42283 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.