mint 相当の HTTP クライアントでサーバーが巨大なチャンクを送りメモリ枯渇のおそれ
概要
Elixir 向け HTTP ライブラリ mint の HTTP/1 チャンク転送処理に、メモリ消費の上限がない問題が見つかりました。悪意のあるサーバーが巨大なチャンクサイズを宣言し、本文をゆっくり送り続けることで、クライアント側のメモリが際限なく増え、メモリ不足を引き起こすおそれがあります。影響を受けるのは mint 0.5.0 以上 1.9.1 未満で、修正版の 1.9.1 へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
mint という製品で、CVE-2026-56810 という番号がついた弱点 (脆弱性) が見つかりました。
不正な操作・情報露出のリスクがあります。
対策: mint を 1.9.1 以上に更新してください。
心配なら、システム担当者や製品の公式サイトで「mint CVE-2026-56810」を検索してください。
CVE-2026-56810 (mint) — CWE-770
修正バージョン: 1.9.1 (即時適用推奨)
対応方針: 1) SBOMで影響バージョン横断確認, 2) ステージング検証→本番更新, 3) WAF/プロキシで該当エンドポイントを監視, 4) ログでIOC調査。
参考: 当ページの『参照URL』の GHSA / vendor advisory / patched release を参照。
mint に 脆弱性 (CWE-770) があります。
mint の影響バージョンはベンダーのアドバイザリで確認してください。
重要度: ?。不正な操作・情報露出のリスクがあります。
1.9.1 に更新してください。
修正版が未提供時は、影響機能の無効化・WAFルール・ネットワークACLでの遮断を検討。
Webサーバ・プロキシ・WAFログで該当CVEのIOCに合致する不審リクエストを検索。SBOM/依存ファイルで影響バージョンを横断確認。
対応アクション
SOC/SREチームが順番に実行すべき具体的なステップとコマンド例
-
1
影響範囲の特定identify
grep -r 'mint' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
mintを grep し、稼働しているサービス・バージョンを把握する。 -
2
パッチ適用patch
Upgrade mint to 1.9.1ステージング環境で 1.9.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
事後検証verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| Hexmint |
0.5.0 以上 1.9.1 未満→ 1.9.1 |
1.9.1 |
| elixir-mintmint |
c575d819d39ebf7e9b77ec24584a5ffbb11c844e 以上 193ce714907d16e8adc4ab3c40e4f0c2f045b2a6 未満→ 193ce714907d16e8adc4ab3c40e4f0c2f045b2a6 |
193ce714907d16e8adc4ab3c40e4f0c2f045b2a6 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
Allocation of Resources Without Limits or Throttling vulnerability in elixir-mint mint (Mint.HTTP1 module) allows a denial of service via an oversized chunked transfer-encoded response.
This vulnerability is associated with program files lib/mint/http1.ex and program routines Mint.HTTP1.decode_body/5, Mint.HTTP1.add_body_to_buffer/2.
When Mint decodes a chunked HTTP response body, it accumulates each partial fragment of the current chunk in the connection's data_buffer (an unbounded iolist) via add_body_to_buffer/2 and does not emit the data to the caller until the full declared chunk length has been received. The chunk size is taken directly from the server and parsed with no upper bound, so a malicious or compromised server can announce one enormous chunk (for example a size line of 7FFFFFFF, about 2 GiB) and then send the body bytes slowly without ever completing the chunk. The client buffers every received byte while it waits for a completion that never arrives, and because no data responses are produced until the chunk finishes, a caller that otherwise streams large content-length bodies safely gains no protection. An unauthenticated remote server (reachable whenever a client follows redirects, fetches user-supplied URLs, or processes webhooks) can drive the client's memory arbitrarily high and trigger an out-of-memory condition.
This issue affects mint: from 0.5.0 before 1.9.1.
出典: NIST National Vulnerability Database NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package hex.pm
- package github.com
- patch github.com
- web cna.erlef.org
- web osv.dev
- web github.com
- web repo.hex.pm
- web github.com