Descrizione
Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (httpd_script_env module) allows an unauthenticated remote attacker to exhaust the atom table of an httpd server that serves ESI scripts. When mod_esi builds the environment for an ESI callback, httpd_script_env:http_env_element/3 checks that a request header name already exists as an atom, then creates the atom http_<header-name> with list_to_atom/1. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named node creates http_node, a header named http_node creates http_http_node, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (+t), and then the whole Erlang VM aborts, together with every application on the node. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.2, EPSS 0.7% (percentile 48).
Versioni da aggiornare
- Erlang OTP: vulnerabile la versione
5.10→ aggiornare alla9.3.2.9o successiva. - Erlang OTP: vulnerabile la versione
17.0→ aggiornare alla27.3.4.20o successiva.
Indicazioni del vendor
Workaround (testo originale del vendor):
* If you do not need ESI, remove erl_script_alias from the httpd configuration. * Restrict the ESI URL prefixes to trusted clients, for example with mod_auth directory protection. Authenticated clients can still trigger the issue. * Put httpd behind a reverse proxy that forwards only an allowlist of standard request headers to the ESI URL prefixes. For nginx, set proxy_pass_request_headers off and add one proxy_set_header for each allowed header.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Applicare rate limiting e limiti sulle risorse a monte del servizio e monitorarne la disponibilità.
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.10 | 9.3.2.9 |
| Erlang | OTP | 17.0 | 27.3.4.20 |
Riferimenti
- Riferimentohttps://cna.erlef.org/cves/CVE-2026-116382.html
- Riferimentohttps://github.com/erlang/otp/commit/5c5c8c038ae7044368bc7bc1eedea09d77a3047a
- Riferimentohttps://github.com/erlang/otp/security/advisories/GHSA-7fjc-wcvc-vp96
- Riferimentohttps://osv.dev/vulnerability/EEF-CVE-2026-116382
- Riferimentohttps://www.erlang.org/doc/system/versions.html#order-of-versions