Erlang OTPのinetsに脆弱性、認証なしで大量の要求を送ると装置全体が停止するおそれ
Summary
Erlang OTPのinets(httpd_script_env)に、攻撃者がHTTPヘッダーを送り続けることでアトム表を使い果たし、Erlang VMごとサーバーが停止するおそれのある脆弱性が公表されました。影響を受けるのはOTP 17.0以降の一部版で、修正版はOTP 27.3.4.20、28.5.0.9、29.1.3です。これらの修正版への更新をおすすめします。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Erlang OTPのinets(httpd_script_env)に、攻撃者がHTTPヘッダーを送り続けることでアトム表を使い果たし、Erlang VMごとサーバーが停止するおそれのある脆弱性が公表されました。影響を受けるのはOTP 17.0以降の一部版で、修正版はOTP 27.3.4.20、28.5.0.9、29.1.3です。これらの修正版への更新をおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| ErlangOTP |
≥ 84adefa331c4159d432d22840663c38f155cd4c1, < 5c5c8c038ae7044368bc7bc1eedea09d77a3047a→ 5c5c8c038ae7044368bc7bc1eedea09d77a3047a |
5c5c8c038ae7044368bc7bc1eedea09d77a3047a |
Original description The description as published by the source.
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_ 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.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web github.com
- web cna.erlef.org
- web osv.dev
- web erlang.org
- web github.com