Descrizione
Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.0.0 until 3.1.13, peer certificates were parsed and their RSA public keys were passed to handshake signature and certificate-chain verification without an explicit modulus-size limit. A remote peer can provide a certificate with an unusually large attacker-chosen RSA modulus and an invalid signature; no corresponding private key or valid handshake signature is required to trigger the expensive operation. An RSA verification path must execute. A local ECDSA certificate does not prevent the peer from presenting an RSA certificate, and WebRTC deployments can be affected. Repeated or concurrent malicious handshakes can consume substantial CPU resources, delay legitimate connections, and reduce service availability. The issue is fixed in version 3.1.13.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.9, EPSS 0.5% (percentile 35).
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:
- Applicare rate limiting e limiti sulle risorse a monte del servizio e monitorarne la disponibilità.
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.
Riferimenti
- Riferimentohttps://github.com/pion/dtls/commit/0b615da56cf134adba79d75a817e21008cc7c9a5
- Riferimentohttps://github.com/pion/dtls/commit/fa6e8d38a3a61044117628bde1ac8c1318f34379
- Riferimentohttps://github.com/pion/dtls/pull/1229
- Riferimentohttps://github.com/pion/dtls/releases/tag/v3.1.13
- Riferimentohttps://github.com/pion/dtls/releases/tag/v4.0.0-rc.6
- Riferimentohttps://github.com/pion/dtls/security/advisories/GHSA-jp25-wc3w-p9xp