Descrizione
Improper Verification of Cryptographic Signature vulnerability in Erlang OTP ssl (ssl_handshake module) allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client. When a server sends no Certificate message and a ServerKeyExchange without a signature, ssl_handshake:decode_server_key/3 reports the signature algorithm as anon, and ssl_handshake:verify_signature/5 returns true for anon without a public key. The client does not require a certificate for a certificate-authenticated key exchange, so the handshake completes for the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges with a cipher suite the client offered. Certificate path validation, verify_fun and the hostname check do not run, and ssl:connect/3 returns {ok, Socket} with {verify, verify_peer} set. The TLS 1.3 client is not affected. This issue affects OTP from OTP 17.0 before OTP 27.3.4.14, OTP 28.5.0.9, and OTP 29.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.1, EPSS 0.3% (percentile 14).
Versioni da aggiornare
- Erlang OTP: vulnerabile la versione
5.3.4→ aggiornare alla11.2.12.10o successiva. - Erlang OTP: vulnerabile la versione
17.0→ aggiornare alla27.3.4.14o successiva.
Indicazioni del vendor
Workaround (testo originale del vendor):
Restrict TLS client connections to TLS 1.3 by setting versions to ['tlsv1.3'] in the client's ssl options. If a client must use TLS 1.2, offer only the static RSA key exchange cipher suites. These suites have no ServerKeyExchange message. They provide no forward secrecy, and many servers do not accept them. RsaOnly = ssl:filter_cipher_suites( ssl:cipher_suites(all, 'tlsv1.2'), [{key_exchange, fun(rsa) -> true; (_) -> false end}] ), Opts = [ {verify, verify_peer}, {cacerts, public_key:cacerts_get()}, {versions, ['tlsv1.2']}, {ciphers, RsaOnly}, {server_name_indication, "www.example.com"}, {customize_hostname_check, [ {match_fun, public_key:pkix_verify_hostname_match_fun(https)} ]} ].
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 | OTP | 5.3.4 | 11.2.12.10 |
| Erlang | OTP | 17.0 | 27.3.4.14 |
Riferimenti
- Riferimentohttps://cna.erlef.org/cves/CVE-2026-124286.html
- Riferimentohttps://github.com/erlang/otp/commit/74782afedd9090bad0ab1dede237a2389e94743f
- Riferimentohttps://github.com/erlang/otp/commit/938a5246a52d30897b4f47439352da4425ea6fc5
- Riferimentohttps://github.com/erlang/otp/commit/d9a931963d3d49c7f73ea509221c9c66737977c7
- Riferimentohttps://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j
- Riferimentohttps://osv.dev/vulnerability/EEF-CVE-2026-124286
- Riferimentohttps://www.erlang.org/doc/system/versions.html#order-of-versions