Vulnerability in mint
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.
A vulnerability tracked as CVE-2026-48862 has been found in mint.
Attackers can target a specific entry point like PUSH_PROMISE over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade mint to 1.9.0 or later.
If unsure, ask your IT team or search "mint CVE-2026-48862" on the vendor's site.
CVE-2026-48862 (mint) — CWE-770
Attack surface: PUSH_PROMISE / max_concurrent_streams / HEADERS / conn.streams
Patched: 1.9.0 — apply immediately
Workaround: Disable HTTP/2 server push on connections to untrusted servers by passing client_settings: [enable_push: false] to 'Elixir.Mint.HTTP':connect/4.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-770) exists in mint. Attackers reach the vulnerable code path via PUSH_PROMISE.
Check the vendor advisory for the affected versions of mint. Attack surface: PUSH_PROMISE / max_concurrent_streams / HEADERS / conn.streams.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 1.9.0.
Workaround: Disable HTTP/2 server push on connections to untrusted servers by passing client_settings: [enable_push: false] to 'Elixir.Mint.HTTP':connect/4.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'mint' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'mint' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
mintを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
Disable HTTP/2 server push on connections to untrusted servers by passing `client_settings: [enable_push: false]` to `'Elixir.Mint.HTTP':connect/4`.パッチが適用されるまでの応急処置として、Disable HTTP/2 server push on connections to untrusted servers by passing
client_settings: [enable_push: false]to'Elixir.Mint.HTTP':connect/4. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3
Apply patchpatch
Upgrade mint to 1.9.0ステージング環境で 1.9.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Hexmint |
≥ 0.2.0, < 1.9.0→ 1.9.0 |
1.9.0 |
| erlangmint |
< 1.9.0→ 1.9.0 |
1.9.0 |
| elixir-mintmint |
≥ 65c6394d05a1b8aa4a7461708c3aa173e8d7a5cf, < 70b97b6a5209fb288b0e04d8e657dda26c59de67→ 70b97b6a5209fb288b0e04d8e657dda26c59de67 |
70b97b6a5209fb288b0e04d8e657dda26c59de67 |
Original description The description as published by the source.
Summary
Allocation of Resources Without Limits or Throttling vulnerability in elixir-mint Mint allows attacker-controlled HTTP/2 servers to exhaust memory in a Mint client via PUSH_PROMISE flooding.
In lib/mint/http2.ex, Mint.HTTP2.decode_push_promise_headers_and_add_response/5 inserts a :reserved_remote entry into conn.streams for every promised stream ID. The neighbouring Mint.HTTP2.assert_valid_promised_stream_id/2 only verifies that the promised ID is even and not already present; client_settings.max_concurrent_streams is not consulted at promise time. The concurrency cap is only checked when the response HEADERS for the promised stream arrive, so a server that emits PUSH_PROMISE frames and withholds the matching HEADERS never trips that check.
HTTP/2 server push is accepted by default (client_settings.enable_push defaults to true). A single long-lived HTTP/2 connection to a hostile server lets that server pin one conn.streams entry per PUSH_PROMISE frame it sends, with no upper bound, until the client process runs out of memory.
This issue affects mint: from 0.2.0 before 1.9.0.
Workarounds
Disable HTTP/2 server push on connections to untrusted servers by passing client_settings: [enable_push: false] to Mint.HTTP.connect/4. This makes Mint reject any inbound PUSH_PROMISE frame with a PROTOCOL_ERROR before the vulnerable code path is reached.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package hex.pm
- package github.com
- package github.com
- patch github.com
- web cna.erlef.org
- web osv.dev
- web github.com
- web github.com
- web repo.hex.pm
- web github.com