← Retour
GHSA-r3hx-x5rh-p9vv
Vulnérabilité dans django-haystack (GHSA-r3hx-x5rh-p9vv)
Résumé
vulnérabilité dans django-haystack (GHSA-r3hx-x5rh-p9vv). Risque d'opérations non autorisées ou de divulgation. Exploitable via ``SearchField``. Atténuation : mise à jour vers `3.4.0` ou plus.
Résumé IA snake-internal / snake-material-v2
Une vulnérabilité référencée **GHSA-r3hx-x5rh-p9vv** a été découverte dans django-haystack.
Des attaquants peuvent cibler un point d'entrée spécifique comme ``SearchField`` à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : ?/10.
Action : mettez à jour django-haystack vers **3.4.0** ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « django-haystack GHSA-r3hx-x5rh-p9vv » sur le site de l'éditeur.
GHSA-r3hx-x5rh-p9vv (django-haystack) — CWE-95 /
Surface d'attaque : `SearchField` / `index_fieldname` / `index.fields` / `final_data`
Correctif : `3.4.0` — 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é** (CWE-95) affecte django-haystack. Les attaquants atteignent le code vulnérable via ``SearchField`` sans authentification.
📍 Périmètre concerné
django-haystack — . Surface d'attaque : `SearchField` / `index_fieldname` / `index.fields` / `final_data`.
🔥 Gravité
Gravité : ?. Risque d'opérations non autorisées ou de divulgation
🔧 Comment corriger
Mettre à jour vers **3.4.0**.
🛡️ 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 'django-haystack' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `django-haystack` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade django-haystack to 3.4.0ステージング環境で 3.4.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
pip
django-haystack
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0"}]}]
Références
- web https://github.com/django-haystack/django-haystack/security/advisories/GHSA-r3hx-x5rh-p9vv
- web https://github.com/django-haystack/django-haystack/commit/eb05f193c9771a68dcc8cfac6674a0d48a52ee9d
- web https://github.com/django-haystack/django-haystack/releases/tag/v3.4.0
- web https://github.com/advisories/GHSA-r3hx-x5rh-p9vv