Descrizione
Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling') vulnerability in Erlang OTP (inets httpd module) allows HTTP Request Smuggling. This vulnerability is associated with program files lib/inets/src/http_server/httpd_request.erl and program routines httpd_request:parse_headers/7. The server does not reject or normalize duplicate Content-Length headers. The earliest Content-Length in the request is used for body parsing while common reverse proxies (nginx, Apache httpd, Envoy) honor the last Content-Length value. This violates RFC 9112 Section 6.3 and allows front-end/back-end desynchronization, leaving attacker-controlled bytes queued as the start of the next request. This issue affects OTP from OTP 17.0 before OTP 26.2.5.18, OTP 27.3.4.9, and OTP 28.4.1, corresponding to inets from 5.10 before 9.1.0.5, 9.3.2.3, and 9.6.1. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
Come correggere
Priorità: Alta — pianificare la correzione entro pochi giorni. Motivazione: CVSS 9.4.
Versioni da aggiornare
- Erlang Erlang/Inets: vulnerabili le versioni dalla
5.10precedenti alla9.1.0.5→ aggiornare alla9.1.0.5o successiva. - Erlang Erlang/Inets: vulnerabili le versioni dalla
9.3precedenti alla9.3.2.3→ aggiornare alla9.3.2.3o successiva. - Erlang Erlang/Inets: vulnerabili le versioni dalla
9.6precedenti alla9.6.1→ aggiornare alla9.6.1o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
17.0precedenti alla26.2.5.18→ aggiornare alla26.2.5.18o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
27.0precedenti alla27.3.4.9→ aggiornare alla27.3.4.9o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
28.0precedenti alla28.4.1→ aggiornare alla28.4.1o successiva.
Patch e advisory
- Patch: github.com/erlang/otp/commit/a4b46336fd25aa100a…
- Patch: github.com/erlang/otp/commit/a761d391d8d08316cb…
- Patch: github.com/erlang/otp/commit/e775a332f623851385…
- Advisory del vendor: cna.erlef.org/cves/CVE-2026-23941.html
- Advisory del vendor: github.com/erlang/otp/security/advisories/GHSA-…
- Advisory di terze parti: osv.dev/vulnerability/EEF-CVE-2026-23941
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/Inets | ≥ 5.10 < 9.1.0.5 | 9.1.0.5 |
| Erlang | Erlang/Inets | ≥ 9.3 < 9.3.2.3 | 9.3.2.3 |
| Erlang | Erlang/Inets | ≥ 9.6 < 9.6.1 | 9.6.1 |
| Erlang | Erlang/Otp | ≥ 17.0 < 26.2.5.18 | 26.2.5.18 |
| Erlang | Erlang/Otp | ≥ 27.0 < 27.3.4.9 | 27.3.4.9 |
| Erlang | Erlang/Otp | ≥ 28.0 < 28.4.1 | 28.4.1 |
Riferimenti
- Patchhttps://github.com/erlang/otp/commit/a4b46336fd25aa100ac602eb9a627aaead7eda18
- Patchhttps://github.com/erlang/otp/commit/a761d391d8d08316cbd7d4a86733ba932b73c45b
- Patchhttps://github.com/erlang/otp/commit/e775a332f623851385ab6ddb866d9b150612ddf6
- Advisory del vendorhttps://cna.erlef.org/cves/CVE-2026-23941.html
- Advisory del vendorhttps://github.com/erlang/otp/security/advisories/GHSA-w4jc-9wpv-pqh7
- Advisory di terze partihttps://osv.dev/vulnerability/EEF-CVE-2026-23941
- Riferimentohttps://www.erlang.org/doc/system/versions.html#order-of-versions