In the Linux kernel, the following vulnerability has been resolved: usb: gadget: configfs: Prevent OOB read/write in usb_string_copy() Userspace provided string 's' could trivially have the length zero. Left unchecked this will firstly result in an OOB read in the form `if (str[0 - 1] == '\n') followed closely by an OOB write in the form `str[0 - 1] = '\0'`. There is already a validating check to catch strings that are too long. Let's supply an additional check for invalid strings that are too short.
Published 2024-08-07 15:14:26
Updated 2024-08-08 14:54:34
Source Linux
View at NVD,   CVE.org

Products affected by CVE-2024-42236

Exploit prediction scoring system (EPSS) score for CVE-2024-42236

0.05%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 16 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2024-42236

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
5.5
MEDIUM CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
1.8
3.6
NIST 2024-08-08

CWE ids for CVE-2024-42236

  • The product writes data past the end, or before the beginning, of the intended buffer.
    Assigned by: nvd@nist.gov (Primary)

References for CVE-2024-42236

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!