Ecto に未認証の遠隔攻撃者によりメモリを枯渇させられる脆弱性
概要
Ecto の 3.4.0 から 3.14.3 より前のバージョンに、リクエストを大量に送られるとアプリケーションとデータベースサーバーのメモリを使い果たされる脆弱性があります。攻撃には認証が不要で、CVSS v4 のスコアは 8.9 です。修正版の 3.14.3 に更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Ecto の 3.4.0 から 3.14.3 より前のバージョンに、リクエストを大量に送られるとアプリケーションとデータベースサーバーのメモリを使い果たされる脆弱性があります。攻撃には認証が不要で、CVSS v4 のスコアは 8.9 です。修正版の 3.14.3 に更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| elixir-ectoecto |
cb2f03964dac324a9771f84f5088e395326e6de8 以上(修正版なし)→ d0e97d8a6e274c81c25fbf08087da8d8b9bae0ea, eef014ad090d27d1a5b69c0e32a50eabd44ab3bb |
d0e97d8a6e274c81c25fbf08087da8d8b9bae0ea, eef014ad090d27d1a5b69c0e32a50eabd44ab3bb |
| Hexecto |
3.4.0 以上 3.14.3 未満→ 3.14.3 |
3.14.3 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Allocation of Resources Without Limits or Throttling vulnerability in elixir-ecto ecto allows an unauthenticated remote attacker to exhaust memory in the application and in the database server by sending requests with distinct JSON keys or list lengths where the application interpolates them into json_extract_path/2, field[^key] or splice/1. Ecto caches prepared queries per repository in an ETS table with no size limit and no eviction. Interpolated JSON path elements become part of the query expression instead of its parameters, and splice/1 expands into one placeholder per element, so every distinct key or list length creates a new cache entry. With ecto_sql each entry is also a new prepared statement on the database connection that runs it. None of this memory is released until the processes restart.
This issue affects ecto: from 3.4.0 before 3.14.3.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- package hex.pm
- package github.com
- web github.com
- web cna.erlef.org
- web osv.dev
- web github.com
- web ecto.hexdocs.pm
- web ecto.hexdocs.pm
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web repo.hex.pm