Vulnérabilité dans mint (CVE-2026-48862)
Résumé
Vulnérabilité dans mint (CVE-2026-48862). Risque d'opérations non autorisées ou de divulgation. Exploitable via PUSH_PROMISE. Atténuation : mise à jour vers 1.9.0 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-48862 a été découverte dans mint.
Des attaquants peuvent cibler un point d'entrée spécifique comme PUSH_PROMISE à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour mint vers 1.9.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « mint CVE-2026-48862 » sur le site de l'éditeur.
CVE-2026-48862 (mint) — CWE-770
Surface d'attaque : PUSH_PROMISE / max_concurrent_streams / HEADERS / conn.streams
Correctif : 1.9.0 — appliquer immédiatement
Contournement : 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, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-770) affecte mint. Les attaquants atteignent le code vulnérable via PUSH_PROMISE.
Consultez l'avis de l'éditeur pour les versions affectées de mint. Surface d'attaque : PUSH_PROMISE / max_concurrent_streams / HEADERS / conn.streams.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 1.9.0.
Contournement : Disable HTTP/2 server push on connections to untrusted servers by passing client_settings: [enable_push: false] to 'Elixir.Mint.HTTP':connect/4.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'mint' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
mintを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
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. を実施。回避策の副作用 (機能低下) を確認した上で。 -
3Apply patch patch
Upgrade mint to 1.9.0ステージング環境で 1.9.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- 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