BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-42236 in Linux Kernel and 2 more products

Medium 5.5 Fix available Industrial / OT

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.

Affects 3 products from 2 vendors. Description from NVD and MITRE.

CVSS 3.15.5
EPSS0.2%
EPSS percentile16th

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Linux Linux Kernel < 4.19.318 ≥ 4.20, < 5.4.280 ≥ 5.5, < 5.10.222 ≥ 5.11, < 5.15.163 ≥ 5.16, < 6.1.100 ≥ 6.2, < 6.6.41
+1 more≥ 6.7, < 6.9.10
Siemens RUGGEDCOM RST2428P (device and firmware) < 3.1

Fix and vendor advisory

  • RUGGEDCOM RST2428P (6GK6242-6PA00), SCALANCE XCM-/XRM-/XCH-/XRH-300 family: Update to V3.1 or later version

Source: ICSA-25-226-15

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2024-42236
BreachSpider IDBS-2024-GLOBAL-203354-M
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published2024-08-07
Last modified2025-11-03
Weakness (CWE)
SourceNVD

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-11-03.