Vulnérabilité dans geopy (CVE-2026-77387)
Résumé
Vulnérabilité dans geopy (CVE-2026-77387). Risque d'opérations non autorisées ou de divulgation. Exploitable via geopy.Point. Atténuation : mise à jour vers 2.5.0 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
geopy.Point and Point.from_string() may take excessive CPU time when parsing long, malformed coordinate strings due to inefficient regular-expression behavior. The numeric Point constructor is not affected.
Geocoders' reverse methods called with string inputs exercise the vulnerable path.
Applications are affected when they pass attacker-controlled strings to these APIs without an appropriate length limit. Repeated requests may cause denial of service.
Patches
Fixed in geopy 2.5.0 by rejecting overly long (over 256 characters) coordinate strings before parsing.
Workarounds
Limit coordinate strings to a reasonable maximum length, such as 256 characters, before passing them to geopy.
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-77387 a été découverte dans geopy.
Des attaquants peuvent cibler un point d'entrée spécifique comme geopy.Point à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation. Score CVSS : 4.0/10.
Action : mettez à jour geopy vers 2.5.0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « geopy CVE-2026-77387 » sur le site de l'éditeur.
CVE-2026-77387 (geopy) — CWE-1333 / CVSS v3 4.0
Vecteur d'attaque : local / non authentifié / sans interaction utilisateur
Surface d'attaque : geopy.Point / reverse
Correctif : 2.5.0 — appliquer immédiatement
Contournement : Limit coordinate strings to a reasonable maximum length, such as 256 characters, before passing them to geopy.
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-1333) affecte geopy. Les attaquants atteignent le code vulnérable via geopy.Point sans authentification.
Consultez l'avis de l'éditeur pour les versions affectées de geopy. Surface d'attaque : geopy.Point / reverse.
Gravité : Moyenne (CVSS 4.0/10). Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 2.5.0.
Contournement : Limit coordinate strings to a reasonable maximum length, such as 256 characters, before passing them to geopy.
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 'geopy' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
geopyを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Limit coordinate strings to a reasonable maximum length, such as 256 characters, before passing them to geopy.パッチが適用されるまでの応急処置として、Limit coordinate strings to a reasonable maximum length, such as 256 characters, before passing them to geopy. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade geopy to 2.5.0ステージング環境で 2.5.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-77387 geopy
- Ubuntu UBUNTU-CVE-2026-77387 geopy
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
- web github.com
- web github.com