Out-of-bounds write in Linux kernel - CVE-2021-42008

 

Out-of-bounds write in Linux kernel - CVE-2021-42008

Published: May 25, 2022 / Updated: November 10, 2022


Vulnerability identifier: #VU63669
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2021-42008
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error in the decode_data() function in drivers/net/hamradio/6pack.c in the Linux kernel. A local user can send input from a process that has the CAP_NET_ADMIN capability and escalate privileges on the system.


How to mitigate CVE-2021-42008

Install updates from vendor's website.

Sources