← Retour
CVE-2021-3426
Vulnérabilité dans libpython (CVE-2021-3426)
Résumé
vulnérabilité dans libpython (CVE-2021-3426). Risque d'opérations non autorisées ou de divulgation. Atténuation : mise à jour vers `2.7.18, 3.6.13, 3.7.10, 3.8.8, 3.9.3` ou plus.
Résumé IA snake-internal / snake-material-v2
Une vulnérabilité référencée **CVE-2021-3426** a été découverte dans libpython.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : ?/10.
Action : mettez à jour libpython vers **2.7.18, 3.6.13, 3.7.10, 3.8.8, 3.9.3** ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « libpython CVE-2021-3426 » sur le site de l'éditeur.
CVE-2021-3426 (libpython) —
Correctif : `2.7.18, 3.6.13, 3.7.10, 3.8.8, 3.9.3` — appliquer immédiatement
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.
❓ Quel est le problème
Une **vulnérabilité** (non classée) affecte libpython.
📍 Périmètre concerné
libpython — .
🔥 Gravité
Gravité : ?. Risque d'opérations non autorisées ou de divulgation
🔧 Comment corriger
Mettre à jour vers **2.7.18, 3.6.13, 3.7.10, 3.8.8, 3.9.3**.
🛡️ Contournement
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
🔍 Détection
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse (7 étapes)
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'libpython' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `libpython` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade libpython to 2.7.18, 3.6.13, 3.7.10, 3.8.8, 3.9.3ステージング環境で 2.7.18, 3.6.13, 3.7.10, 3.8.8, 3.9.3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Bitnami
libpython
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.7.18"},{"introduced":"3.6.0"},{"fixed":"3.6.13"},{"introduced":"3.7.0"},{"fixed":"3.7.10"},{"introduced":"3.8.0"},{"fixed":"3.8.8"},{"introduced":"3.9.0"},{"fixed":"3.9.3"}]}]
Bitnami
python-min
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.7.18"},{"introduced":"3.6.0"},{"fixed":"3.6.13"},{"introduced":"3.7.0"},{"fixed":"3.7.10"},{"introduced":"3.8.0"},{"fixed":"3.8.8"},{"introduced":"3.9.0"},{"fixed":"3.9.3"}]}]
Bitnami
python
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.7.18"},{"introduced":"3.6.0"},{"fixed":"3.6.13"},{"introduced":"3.7.0"},{"fixed":"3.7.10"},{"introduced":"3.8.0"},{"fixed":"3.8.8"},{"introduced":"3.9.0"},{"fixed":"3.9.3"}]}]
Références
- web https://bugzilla.redhat.com/show_bug.cgi?id=1935913
- web https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html
- web https://lists.debian.org/debian-lts-announce/2023/06/msg00039.html
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/25HVHLBGO2KNPXJ3G426QEYSSCECJDU5/
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BF2K7HEWADHN6P52R3QLIOX27U3DJ4HI/
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DQYPUKLLBOZMKFPO7RD7CENTXHUUEUV7/
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LM5V4VPLBHBEASSAROYPSHXGXGGPHNOE/
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N6VXJZSZ6N64AILJX4CTMACYGQGHHD5C/
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QNGAFMPIYIVJ47FCF2NK2PIX22HUG35B/
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPX7Y5GQDNB4FJTREWONGC4ZSVH7TGHF/
- web https://nvd.nist.gov/vuln/detail/CVE-2021-3426
- web https://security.gentoo.org/glsa/202104-04
- web https://security.netapp.com/advisory/ntap-20210629-0003/
- web https://www.oracle.com/security-alerts/cpujan2022.html
- web https://www.oracle.com/security-alerts/cpuoct2021.html
- web https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html