Vulnerability in Linux
CVE-2024-42098
In the Linux kernel, the following vulnerability has been resolved: crypto: ecdh - explicitly zeroize private_key private_key is overwritten with the key parameter passed in by the caller (if present), or alternatively a newly generated private key. However, it is possible that the caller provides a key (or the newly generated key) which is shorter than the previous key. In that scenario, some key material from the previous key would not be overwritten. The easiest solution is to explicitly zeroize the entire private_key array first. Note that this patch slightly changes the behavior of this function: previously, if the ecc_gen_privkey failed, the old private_key would remain. Now, the private_key is always zeroized. This behavior is consistent with the case where params.key is set and ecc_is_key_valid fails.
EPSS: 0.002 (11.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 3c4b23901a0c766879dff680cd6bdab47bcdbbd2, 4.8, 0
- Linux Linux_kernel
References
Frequently asked questions
- What is CVE-2024-42098?
- CVE-2024-42098 is a medium-severity vulnerability in Linux. CVSS score: 5.5/10. Published 2024-07-29.
- How severe is CVE-2024-42098?
- Medium severity. CVSS v3 base score is 5.5 out of 10.