Out-of-bounds Read in Linux
CVE-2024-50259
In the Linux kernel, the following vulnerability has been resolved: netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write() This was found by a static analyzer. We should not forget the trailing zero after copy_from_user() if we will further do some string operations, sscanf() in this case. Adding a trailing zero will ensure that the function performs properly.
Vulnerability class: Buffer Overflow
EPSS: 0.002 (12.7th 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 c6385c0b67c527b298111775bc89a7407ba1581e, 5.13, 0
- Linux Linux_kernel — versions 6.12
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-50259?
- CVE-2024-50259 is a medium-severity vulnerability in Linux, classified under Out-of-bounds Read. CVSS score: 5.5/10. Published 2024-11-09.
- How severe is CVE-2024-50259?
- Medium severity. CVSS v3 base score is 5.5 out of 10.