Elixir 的 Ecto 框架存在“无限制或无节流机制的资源分配”漏洞。未认证的远程攻击者可以通过发送包含不同 JSON 键名或不同列表长度的请求,耗尽应用程序及数据库服务器的内存。该漏洞的成因在于:当应用程序将此类动态内容插值到 、 或 等函数中时,Ecto 会在无大小限制且无淘汰机制的 ETS 表中,按仓库缓存预编译查询。由于插值的 JSON 路径元素会直接成为查询表达式的一部分(而非参数),而 会为每个元素展开一个占位符,因此每一个不同的键名或列表长度都会生成一个新的缓存条目。在使用 时,每个条目还会在对应
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| elixir-ecto | ecto | 3.4.0< 3.14.3 |
affected |
cb2f03964dac324a9771f84f5088e395326e6de8< eef014ad090d27d1a5b69c0e32a50eabd44ab3bb |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| elixir-ecto | ecto | 3.4.0 ~ 3.14.3 |
cpe:2.3:a:elixir-ecto:ecto:*:*:*:*:*:*:*:*
|
|
| elixir-ecto | ecto | cb2f03964dac324a9771f84f5088e395326e6de8 ~ eef014ad090d27d1a5b69c0e32a50eabd44ab3bb |
cpe:2.3:a:elixir-ecto:ecto:*:*:*:*:*:*:*:*
|
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC