Descrizione

Improper Enforcement of Message Integrity During Transmission in a Communication Channel vulnerability in Erlang/OTP ssl (tls_gen_connection module) allows a network-positioned attacker to inject unauthenticated plaintext that the TLS client application later treats as authenticated server data. The function tls_gen_connection:handle_protocol_record/3 rejects APPLICATION_DATA records that arrive in pre-handshake states when the TLS endpoint acts as a server, but does not apply the same check when the endpoint acts as a client. A network-positioned attacker can send plaintext APPLICATION_DATA records to the client during the handshake. The records are buffered and, once the handshake completes successfully, delivered to the application as if they were authenticated post-handshake data. The attacker cannot observe the client's response or steer the connection, so the impact is limited to blind injection of unauthenticated bytes. The injection window is wider for TLS versions prior to TLS 1.3 than for TLS 1.3. This vulnerability is associated with program file lib/ssl/src/tls_gen_connection.erl. TLS 1.3 is affected starting with OTP 22.0, when TLS 1.3 support was added. This issue affects OTP from OTP 17.0 before OTP 27.3.4.14, OTP 28.5.0.3, and OTP 29.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.3, and 11.7.3. Whether OTP before OTP 17.0, corresponding to ssl before 5.3.4, is affected is unknown.

Testo originale del record CVE (in inglese).

Come correggere

Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 3.7.

Versioni da aggiornare

  • Erlang Erlang/Otp: vulnerabili le versioni dalla 17.0 precedenti alla 27.3.4.14 → aggiornare alla 27.3.4.14 o successiva.
  • Erlang Erlang/Otp: vulnerabili le versioni dalla 28.0 precedenti alla 28.5.0.3 → aggiornare alla 28.5.0.3 o successiva.
  • Erlang Erlang/Otp: vulnerabili le versioni dalla 29.0 precedenti alla 29.0.3 → aggiornare alla 29.0.3 o successiva.
  • Erlang Erlang/Ssl: vulnerabili le versioni dalla 5.3.4 precedenti alla 11.2.12.10 → aggiornare alla 11.2.12.10 o successiva.
  • Erlang Erlang/Ssl: vulnerabili le versioni dalla 11.3 precedenti alla 11.6.0.3 → aggiornare alla 11.6.0.3 o successiva.
  • Erlang Erlang/Ssl: vulnerabili le versioni dalla 11.7 precedenti alla 11.7.3 → aggiornare alla 11.7.3 o successiva.

Patch e advisory

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
Erlang Erlang/Otp ≥ 17.0 < 27.3.4.14 27.3.4.14
Erlang Erlang/Otp ≥ 28.0 < 28.5.0.3 28.5.0.3
Erlang Erlang/Otp ≥ 29.0 < 29.0.3 29.0.3
Erlang Erlang/Ssl ≥ 5.3.4 < 11.2.12.10 11.2.12.10
Erlang Erlang/Ssl ≥ 11.3 < 11.6.0.3 11.6.0.3
Erlang Erlang/Ssl ≥ 11.7 < 11.7.3 11.7.3

Riferimenti