CVE-2024-50074
Last modified
CVE-2024-50074 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: parport: Proper fix for array out-of-bounds access The recent fix for array out-of-bounds accesses replaced sprintf() calls blindly with snprintf(). However, since snprintf() returns the would-be-printed size, not the actually output size, the length calculation can still go over the given limit. Use scnprintf() instead of snprintf(), which returns the actually output letters, for addressing the potential out-of-bounds access properly.. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: parport: Proper fix for array out-of-bounds access The recent fix for array out-of-bounds accesses replaced sprintf() calls blindly with snprintf(). However, since snprintf() returns the would-be-printed size, not the actually output size, the length calculation can still go over the given limit. Use scnprintf() instead of snprintf(), which returns the actually output letters, for addressing the potential out-of-bounds access properly.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.10.224, < 5.10.228 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.169 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.114 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.58 | — |
| Linux | Linux Kernel | >= 6.7, < 6.11.5 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
| Redhat | Enterprise Linux | 8.0 | — |
| Redhat | Enterprise Linux | 9.0 | — |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-50074?
How severe is CVE-2024-50074?
How do I fix CVE-2024-50074?
Are you affected by CVE-2024-50074?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
