Descrizione
The Erlang/OTP ssl TLS 1.2 (and earlier) and DTLS client does not verify that the cipher suite selected by the server in ServerHello was among the suites offered by the client in ClientHello. The client-side tls_handshake:hello/5 handler validates the negotiated protocol version and the downgrade sentinel but hands the server-chosen suite directly to ssl_handshake:handle_server_hello_extensions/9, which installs it without a membership check. The TLS 1.3 client path performs this check (per RFC 8446), so it is not affected. An on-path attacker between the client and the intended server can respond with a ServerHello selecting an anonymous key exchange suite such as TLS_DH_anon_* or TLS_ECDH_anon_* that the client never offered. Anonymous suites do not require the server to present a certificate, so the entire verify_peer and cacerts configuration is bypassed: the attacker completes the handshake with its own ephemeral parameters, no certificate is validated, no hostname is checked, and ssl:connect returns {ok, Socket}. All subsequent application traffic is readable and modifiable by the attacker. This issue affects OTP from OTP 17.0 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to ssl from 5.3.4 before 11.2.12.11, 11.6.0.4, and 11.7.4. Whether OTP before OTP 17.0, corresponding to ssl before 5.3.4, is affected is unknown.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.4.
Versioni da aggiornare
- Erlang Erlang/Otp: vulnerabili le versioni dalla
17.0precedenti alla27.3.4.15→ aggiornare alla27.3.4.15o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
28.0precedenti alla28.5.0.4→ aggiornare alla28.5.0.4o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
29.0precedenti alla29.0.4→ aggiornare alla29.0.4o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
5.3.4precedenti alla11.2.12.11→ aggiornare alla11.2.12.11o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
11.3precedenti alla11.6.0.4→ aggiornare alla11.6.0.4o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
11.7precedenti alla11.7.4→ aggiornare alla11.7.4o successiva.
Patch e advisory
- Patch: cna.erlef.org/cves/CVE-2026-55953.html
- Patch: github.com/erlang/otp/commit/064e236414614f9085…
- Patch: github.com/erlang/otp/commit/0a82596d425abe43dc…
- Patch: github.com/erlang/otp/commit/e6ff938116b2872bcc…
- Patch: osv.dev/vulnerability/EEF-CVE-2026-55953
- Advisory del vendor: github.com/erlang/otp/security/advisories/GHSA-…
- Note di rilascio: www.erlang.org/doc/system/versions.html
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.15 | 27.3.4.15 |
| Erlang | Erlang/Otp | ≥ 28.0 < 28.5.0.4 | 28.5.0.4 |
| Erlang | Erlang/Otp | ≥ 29.0 < 29.0.4 | 29.0.4 |
| Erlang | Erlang/Ssl | ≥ 5.3.4 < 11.2.12.11 | 11.2.12.11 |
| Erlang | Erlang/Ssl | ≥ 11.3 < 11.6.0.4 | 11.6.0.4 |
| Erlang | Erlang/Ssl | ≥ 11.7 < 11.7.4 | 11.7.4 |
Riferimenti
- Patchhttps://cna.erlef.org/cves/CVE-2026-55953.html
- Patchhttps://github.com/erlang/otp/commit/064e236414614f9085cbbbd6eacf0e43c02d1b4b
- Patchhttps://github.com/erlang/otp/commit/0a82596d425abe43dc2e0b3d74aa1557ef74051c
- Patchhttps://github.com/erlang/otp/commit/e6ff938116b2872bccc478af7fefb56627285b77
- Patchhttps://osv.dev/vulnerability/EEF-CVE-2026-55953
- Advisory del vendorhttps://github.com/erlang/otp/security/advisories/GHSA-c6cw-pr89-w882
- Note di rilasciohttps://www.erlang.org/doc/system/versions.html#order-of-versions