Descrizione
Reliance on IP Address for Authentication vulnerability in Erlang/OTP ssl (inet_tls_dist module) allows unauthenticated bypass of the distribution-over-TLS LAN allowlist. The inet_tls_dist:check_ip/1 function, which enforces a LAN allowlist for Erlang distribution over TLS, calls inet:sockname/1 instead of inet:peername/1 to obtain the peer's IP address. Because inet:sockname/1 returns the local socket address, both the local IP and the supposed peer IP resolve to the same value, causing the subnet mask comparison to always succeed regardless of the actual remote address. Any holder of a CA-signed TLS certificate can therefore bypass the LAN restriction and gain full Erlang distribution access to the node, including rpc:call/4 and code:load_binary/3. This vulnerability is associated with program file lib/ssl/src/inet_tls_dist.erl. This issue affects OTP from OTP 26.0 before OTP 27.3.4.13, OTP 28.5.0.2, and OTP 29.0.2, corresponding to ssl from 11.0 before 11.2.12.9, 11.6.0.2, and 11.7.2.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 6.5.
Versioni da aggiornare
- Erlang Erlang/Otp: vulnerabili le versioni dalla
26.0precedenti alla27.3.4.13→ aggiornare alla27.3.4.13o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
28.0precedenti alla28.5.0.2→ aggiornare alla28.5.0.2o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
29.0precedenti alla29.0.2→ aggiornare alla29.0.2o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
11.0precedenti alla11.2.12.9→ aggiornare alla11.2.12.9o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
11.6precedenti alla11.6.0.2→ aggiornare alla11.6.0.2o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
11.7precedenti alla11.7.2→ aggiornare alla11.7.2o successiva.
Patch e advisory
- Patch: github.com/erlang/otp/commit/0209a6df65d605552b…
- Advisory del vendor: github.com/erlang/otp/security/advisories/GHSA-…
- Advisory di terze parti: cna.erlef.org/cves/CVE-2026-48860.html
- Advisory di terze parti: osv.dev/vulnerability/EEF-CVE-2026-48860
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Restringere l'accesso al componente, applicare il principio del minimo privilegio e controllare i log per operazioni non autorizzate.
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 | ≥ 26.0 < 27.3.4.13 | 27.3.4.13 |
| Erlang | Erlang/Otp | ≥ 28.0 < 28.5.0.2 | 28.5.0.2 |
| Erlang | Erlang/Otp | ≥ 29.0 < 29.0.2 | 29.0.2 |
| Erlang | Erlang/Ssl | ≥ 11.0 < 11.2.12.9 | 11.2.12.9 |
| Erlang | Erlang/Ssl | ≥ 11.6 < 11.6.0.2 | 11.6.0.2 |
| Erlang | Erlang/Ssl | ≥ 11.7 < 11.7.2 | 11.7.2 |
Riferimenti
- Patchhttps://github.com/erlang/otp/commit/0209a6df65d605552b378273027b3968b35f26b4
- Advisory del vendorhttps://github.com/erlang/otp/security/advisories/GHSA-gp7x-mfv6-52cv
- Advisory di terze partihttps://cna.erlef.org/cves/CVE-2026-48860.html
- Advisory di terze partihttps://osv.dev/vulnerability/EEF-CVE-2026-48860
- Riferimentohttps://github.com/erlang/otp/commit/7a08c5507862a7011568506d0c17b1fdef30bee4
- Riferimentohttps://www.erlang.org/doc/system/versions.html#order-of-versions