Descrizione

Issue summary: The AES-GCM-SIV implementation treats a zero-length Additional Authenticated Data (AAD) update as a reset of all the AAD supplied so far, instead of leaving the AAD unchanged. An application that supplies its AAD in several fragments, one of which is empty, therefore produces or verifies messages whose authentication tag does not cover the AAD supplied before the empty fragment. Impact summary: Data an application intended to authenticate alongside a message is silently left unauthenticated. An attacker can forge the AAD of such a message. CWE: CWE-325: Missing Cryptographic Step Description: An application passing AAD in multiple chunks of which some have zero length will have the previous AAD chunks effectively unauthenticated. Also, on context re-initialisation, the AAD was not reset, which meant that any AAD accumulated from the previous context usage were also included in the AAD of the new message. The fix makes a zero-length AAD update a no-op and clears any accumulated AAD whenever the context is re-initialised with a key or a nonce. A re-initialisation that only changes parameters keeps the AAD. FIPS impact: no The FIPS modules are not affected, as AES-GCM-SIV is not a FIPS approved algorithm and is implemented only in the default provider, outside the OpenSSL FIPS module boundary.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5, EPSS 0.1% (percentile 4).

Versioni da aggiornare

  • OpenSSL OpenSSL: vulnerabili le versioni dalla 4.1.0 precedenti alla 4.1.1 → aggiornare alla 4.1.1 o successiva.
  • OpenSSL OpenSSL: vulnerabili le versioni dalla 4.0.0 precedenti alla 4.0.4 → aggiornare alla 4.0.4 o successiva.
  • OpenSSL OpenSSL: vulnerabili le versioni dalla 3.5.0 precedenti alla 3.5.10 → aggiornare alla 3.5.10 o successiva.

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
OpenSSL OpenSSL ≥ 4.1.0 < 4.1.1 4.1.1
OpenSSL OpenSSL ≥ 4.0.0 < 4.0.4 4.0.4
OpenSSL OpenSSL ≥ 3.5.0 < 3.5.10 3.5.10

Riferimenti