Descrizione

Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.0.0 until 3.1.13, the implementation selected signature verification based on the certificate public key while deriving the digest from the peer-controlled signature scheme without validating that the scheme, key type, and hash requirements were consistent. The affected verification functions are verifyKeySignature for ServerKeyExchange and verifyCertificateVerify for CertificateVerify. An unauthenticated network attacker who can redirect a DTLS handshake and obtain the genuine peer certificate can submit crafted handshake signatures that are accepted without possession of the certificate private key. This can let the attacker impersonate the peer and compromise the confidentiality and integrity of protected traffic; checking a WebRTC SDP certificate fingerprint does not prevent the attack because the genuine certificate is presented. The issue is fixed in version 3.1.13.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.1, EPSS 0.3% (percentile 21).

Versioni da aggiornare

  • pion dtls: vulnerabile la versione >= 3.0.0, < 3.1.13 → installare l'ultima release supportata dal vendor.
  • pion dtls: vulnerabile la versione >= 2.0.0, <= 2.2.12 → 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

  1. Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
  2. Confrontare la versione installata con quelle indicate sopra.
  3. Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
  4. Ripetere la scansione per confermare la correzione.

Configurazioni interessate

VendorProdottoVersioni vulnerabiliCorretta in
pion dtls >= 3.0.0, < 3.1.13 —
pion dtls >= 2.0.0, <= 2.2.12 —

Riferimenti