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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 3.7.
Versioni da aggiornare
- Erlang Erlang/Otp: vulnerabili le versioni dalla
17.0precedenti alla27.3.4.14→ aggiornare alla27.3.4.14o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
28.0precedenti alla28.5.0.3→ aggiornare alla28.5.0.3o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
29.0precedenti alla29.0.3→ aggiornare alla29.0.3o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
5.3.4precedenti alla11.2.12.10→ aggiornare alla11.2.12.10o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
11.3precedenti alla11.6.0.3→ aggiornare alla11.6.0.3o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
11.7precedenti alla11.7.3→ aggiornare alla11.7.3o successiva.
Patch e advisory
- Patch: github.com/erlang/otp/commit/07d2d0e93f6aaf7652…
- Advisory del vendor: cna.erlef.org/cves/CVE-2026-54891.html
- Advisory del vendor: github.com/erlang/otp/security/advisories/GHSA-…
- Note di rilascio: www.erlang.org/doc/system/versions.html
- Advisory di terze parti: osv.dev/vulnerability/EEF-CVE-2026-54891
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.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta 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
- Patchhttps://github.com/erlang/otp/commit/07d2d0e93f6aaf7652a81e8df075fc1728da5e96
- Advisory del vendorhttps://cna.erlef.org/cves/CVE-2026-54891.html
- Advisory del vendorhttps://github.com/erlang/otp/security/advisories/GHSA-gf6r-99xw-6qg6
- Note di rilasciohttps://www.erlang.org/doc/system/versions.html#order-of-versions
- Advisory di terze partihttps://osv.dev/vulnerability/EEF-CVE-2026-54891