Vulnérabilité dans urllib3 (CVE-2026-97689)
Résumé
Vulnérabilité dans urllib3 (CVE-2026-97689). Risque d'opérations non autorisées ou de divulgation. Atténuation : mise à jour vers 2.8.0 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
urllib3's streaming API is designed for efficiently handling large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When decoding a chunked-transfer-encoded response, this API reads each chunk's size field by buffering until it sees \n or EOF.
A malicious HTTP server can return Transfer-Encoding: chunked and then send a very long run of bytes without any newline, causing the streaming client to buffer that entire run before urllib3 can reject the chunk size as invalid and allocate more memory than intended.
To fix the issue, we'll reject chunk-size fields larger than 65536 bytes, as already done in the non-streaming case, which is currently handled by the Python standard library. Note that this only applies to reading the chunk-size field, not the chunk data, which is already handled correctly. Thus, there shouldn't be any impact for non-malicious servers.
Affected usages
Applications and libraries using urllib3 versions earlier than 2.8.0 may be affected when streaming a chunked response from untrusted sources. Specifically, this affects the read_chunked() and [stream()](https://urllib3.readthedocs.io/en/stable/reference/urllib3.re…
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-97689 a été découverte dans urllib3.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 7.5/10.
Action : mettez à jour urllib3 vers 2.8.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « urllib3 CVE-2026-97689 » sur le site de l'éditeur.
CVE-2026-97689 (urllib3) — CWE-770 / CVSS v3 7.5
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Correctif : 2.8.0 — appliquer immédiatement
Contournement : consider reading the response at once using the [read()](https://urllib3.
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 urllib3.
Consultez l'avis de l'éditeur pour les versions affectées de urllib3.
Gravité : Élevée (CVSS 7.5/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 2.8.0.
Contournement : consider reading the response at once using the [read()](https://urllib3.
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 'urllib3' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
urllib3を grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
consider reading the response at once using the [read()](https://urllib3.パッチが適用されるまでの応急処置として、consider reading the response at once using the [read()](https://urllib3. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade urllib3 to 2.8.0ステージング環境で 2.8.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Debian DEBIAN-CVE-2026-97689 python-urllib3
- Ubuntu UBUNTU-CVE-2026-97689 python-pip
Références
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- package pypi.org
- web github.com
- web github.com
- web github.com