Descrizione
The OpenThread PSA crypto platform backend in modules/openthread/platform/crypto_psa.c only supported PSA key references. otPlatCryptoAesSetKey() copied aKey->mKeyRef into the AES context unconditionally. On an OpenThread Radio Co-Processor (RCP) build, CONFIG_OPENTHREAD_CRYPTO_PSA does not select CONFIG_OPENTHREAD_PLATFORM_KEY_REF, so OpenThread passes the MAC key as literal bytes and mKeyRef is uninitialized. psa_cipher_encrypt() in otPlatCryptoAesEncrypt() then fails without writing its output, and the error is only caught by an OpenThread assertion that is compiled to a no-op when CONFIG_ASSERT is disabled. When the RCP handles transmit security in software, AES-CCM* is never keyed. That is the case with Thread 1.2 or later, where CONFIG_OPENTHREAD_MAC_SOFTWARE_TX_SECURITY_ENABLE defaults to y, on a radio driver without IEEE802154_HW_TX_SEC. Every MAC key-id-mode-1 frame goes out with its payload XORed against a single 16-byte pad of stale stack data, reused for every block, and with an unkeyed MIC. CONFIG_OPENTHREAD_CRYPTO_PSA is enabled by default since v4.4.0. A passive attacker within 802.15.4 radio range can recover the pad from predictable plaintext (for example 6LoWPAN headers) and read the payload of the frames the device transmits. The practical impact is limited. The configuration is not the default (the default Thread version is 1.1), and the same defect makes peers reject every secured data frame, so an affected device cannot exchange data on the network. Received traffic and key distribution are not affected. With CONFIG_ASSERT enabled, the RCP halts on the first secured transmission instead.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 3.1, EPSS 0.1% (percentile 2).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
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.