← Retour
UBUNTU-CVE-2021-4189
Vulnérabilité dans python2.7 (UBUNTU-CVE-2021-4189)
Résumé
vulnérabilité dans python2.7 (UBUNTU-CVE-2021-4189). Risque d'opérations non autorisées ou de divulgation. Atténuation : mise à jour vers `2.7.6-8ubuntu0.6+esm12` ou plus.
Résumé IA snake-internal / snake-material-v2
Une vulnérabilité référencée **UBUNTU-CVE-2021-4189** a été découverte dans python2.7.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : ?/10.
Action : mettez à jour python2.7 vers **2.7.6-8ubuntu0.6+esm12** ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « python2.7 UBUNTU-CVE-2021-4189 » sur le site de l'éditeur.
UBUNTU-CVE-2021-4189 (python2.7) —
Vecteur d'attaque : distant (réseau) / non authentifié / sans interaction utilisateur
Correctif : `2.7.6-8ubuntu0.6+esm12` — 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 python2.7.
📍 Périmètre concerné
python2.7 — .
🔥 Gravité
Gravité : ?. Risque d'opérations non autorisées ou de divulgation
🔧 Comment corriger
Mettre à jour vers **2.7.6-8ubuntu0.6+esm12**.
🛡️ 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 'python2.7' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `python2.7` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade python2.7 to 2.7.6-8ubuntu0.6+esm12ステージング環境で 2.7.6-8ubuntu0.6+esm12 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Ubuntu:Pro:14.04:LTS
python2.7
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.6-8ubuntu0.6+esm12"}]}]
Ubuntu:Pro:14.04:LTS
python3.4
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.3-1ubuntu1~14.04.7+esm12"}]}]
Ubuntu:Pro:14.04:LTS
python3.5
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.2-2ubuntu0~16.04.4~14.04.1+esm1"}]}]
Ubuntu:Pro:16.04:LTS
python2.7
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.12-1ubuntu0~16.04.18+esm1"}]}]
Ubuntu:Pro:16.04:LTS
python3.5
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.2-2ubuntu0~16.04.13+esm2"}]}]
Ubuntu:18.04:LTS
python2.7
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.17-1~18.04ubuntu1.7"}]}]
Ubuntu:18.04:LTS
python3.6
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.9-1~18.04ubuntu1.7"}]}]
Ubuntu:Pro:18.04:LTS
python3.7
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.5-2ubuntu1~18.04.2+esm3"}]}]
Ubuntu:Pro:18.04:LTS
python3.8
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.0-3ubuntu1~18.04.2+esm2"}]}]
Ubuntu:Pro:20.04:LTS
python2.7
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.18-1~20.04.3+esm1"}]}]
Ubuntu:Pro:22.04:LTS
python2.7
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.18-13ubuntu1.1+esm2"}]}]
Références
- advisory https://ubuntu.com/security/notices/USN-5342-1
- advisory https://ubuntu.com/security/notices/USN-5342-2
- advisory https://ubuntu.com/security/notices/USN-6891-1
- advisory https://ubuntu.com/security/notices/USN-8509-1
- report https://ubuntu.com/security/CVE-2021-4189
- report https://bugs.python.org/issue43285
- report https://github.com/python/cpython/commit/0ab152c6b5d95caa2dc1a30fa96e10258b5f188e
- report https://github.com/python/cpython/commit/7dcb4baa4f0fde3aef5122a8e9f6a41853ec9335
- report https://github.com/python/cpython/commit/79373951b3eab585d42e0f0ab83718cbe1d0ee33
- report https://github.com/python/cpython/commit/4134f154ae2f621f25c5d698cc0f1748035a1b88
- report https://bugzilla.redhat.com/show_bug.cgi?id=2036020
- report https://www.cve.org/CVERecord?id=CVE-2021-4189