Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
- >= 4.20, < 4.20.0-rc1
A buffer overflow vulnerability has been identified in the Linux kernel's handling of asymmetric keys. This issue arises in the 'keyctl_pkey_params_get_2' function, where the internal output buffer length is incorrectly calculated. As a result, a buffer overflow can occur if a buffer that is too small is provided. The vulnerability affects several versions of the Linux kernel, specifically in the stable tree, and has been present since version 4.20.
Exploitation of this vulnerability can lead to a buffer overflow, which may be exploited to execute arbitrary code or cause a denial-of-service condition.
The vulnerability can be reproduced by invoking the 'keyctl_pkey_params_get_2' function with parameters that trigger the incorrect buffer size calculation. This can be done by providing a user-defined buffer that is smaller than the required size, which will cause an overflow when the function attempts to write output data.
Users can upgrade to the latest version of the Linux kernel stable release to address this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.