Descrizione
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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: EPSS 0.2% (percentile 14).
Versioni da aggiornare
- Linux Linux: versione corretta
6.12.117(o successiva). - Linux Linux: versione corretta
6.18.61(o successiva). - Linux Linux: versione corretta
7.3.2(o successiva). - Linux Linux: versione corretta
7.4-rc1(o successiva). - Linux Linux: vulnerabile la versione
3.15→ installare l'ultima release supportata dal vendor.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Linux | Linux | — | 6.12.117 |
| Linux | Linux | — | 6.18.61 |
| Linux | Linux | — | 7.3.2 |
| Linux | Linux | — | 7.4-rc1 |
| Linux | Linux | 3.15 | — |
Riferimenti
- Riferimentohttps://git.kernel.org/stable/c/4ebc9aed3fb7326daad7e7b336bb17b9d41b91d2
- Riferimentohttps://git.kernel.org/stable/c/50fc069cfcb25e9d36a8cccf9111d53bc47a309c
- Riferimentohttps://git.kernel.org/stable/c/773307dd4c3e8c27eb31650af2df2d91cba22de8
- Riferimentohttps://git.kernel.org/stable/c/94d0e789d8b0d2ea8e25ed5ff2fe2648e11f2297
- Riferimentohttps://git.kernel.org/stable/c/dfea21d67426b93c60ec4575f27ee1e73c3a75d5
- Riferimentohttps://git.kernel.org/stable/c/e178cdd6ed0f4ac20afc9220eceae3a89e6719af
- Riferimentohttps://git.kernel.org/stable/c/f1b4bed4163e7097cd2d59b2c21220d038b6b20f
- Riferimentohttps://git.kernel.org/stable/c/fc54e71a063c0dcc4bceba6d0f71805a9b84082d