HID: cp2112: validate response report lengths
Linux Linux
At a glance
In the Linux kernel, the following vulnerability has been resolved: HID: cp2112: validate response report lengths The HID core invokes raw_event callbacks before validating the report length. cp2112_raw_event() reads every field of a transfer status response without checking size. For a data response, it reads the length at offset two and copies that many bytes from offset three, again without ensuring that the input report contains them. Require a complete transfer status structure. For data responses, first require the header and then ensure the clamped payload length fits in the received report before copying it. Commit 47669bec44fe ("HID: asus: refactor the two workqueues and init sequence") added the same kind of raw_event length validation to hid-asus.
Source description · CVE List / CNA
System impact
CVSS summary v4.0
- Published:
- Updated:
- EPSS:
- 0.232%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Physical
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Linux | Linux | Affected versions:3.15Show full version range for Linux
Git commit ranges (source code)
|
| Vendor:Canonical | linux-aws-5.4Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-aws-5.4
|
| Vendor:Canonical | linux-azure-4.15Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-azure-4.15
|
| Vendor:Canonical | linux-azure-5.4Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-azure-5.4
|
| Vendor:Canonical | linux-gcp-4.15Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-gcp-4.15
|
| Vendor:Canonical | linux-gcp-5.4Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-gcp-5.4
|
| Vendor:Canonical | linux-hwe-5.4Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-hwe-5.4
|
| Vendor:Canonical | linux-ibm-5.4Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-ibm-5.4
|
| Vendor:Canonical | linux-oracle-5.4Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-oracle-5.4
|
| Vendor:Canonical | linux-raspi-5.4Environments (1)
| Affected versions:Range not specifiedShow full version range for linux-raspi-5.4
|
1–10 of 377 · Page 1 of 38
CVSS scores and metrics4
canonical · Wazuh CTI (adp)Primary5.1 / 10MediumCVSS 4.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Physical
- Privileges required
- Not required
- User interaction
- Not required
- Attack requirements
- None
- Subsequent confidentiality
- None
- Subsequent integrity
- None
- Subsequent availability
- None
Source vector
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Nredhat · Wazuh CTI (adp)4.6 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Physical
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Halas · Wazuh CTI (adp)5.2 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- None
- Availability
- High
- Attack vector
- Physical
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HRed Hat · Red Hat VEX (adp)4.6 / 10MediumCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Physical
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories22
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences