Vulnérabilité dans github.com/git-lfs/git-lfs (CVE-2025-26625)
Résumé
Vulnérabilité dans github.com/git-lfs/git-lfs (CVE-2025-26625). Risque d'opérations non autorisées ou de divulgation. Atténuation : mise à jour vers 3.7.1 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Git LFS is a Git extension for versioning large files. In Git LFS versions 0.5.2 through 3.7.0, when populating a Git repository's working tree with the contents of Git LFS objects, certain Git LFS commands may write to files visible outside the current Git working tree if symbolic or hard links exist which collide with the paths of files tracked by Git LFS. The git lfs checkout and git lfs pull commands do not check for symbolic links before writing to files in the working tree, allowing an attacker to craft a repository containing symbolic or hard links that cause Git LFS to write to arbitrary file system locations accessible to the user running these commands. As well, when the git lfs checkout and git lfs pull commands are run in a bare repository, they could write to files visible outside the repository. The vulnerability is fixed in version 3.7.1. As a workaround, support for symlinks in Git may be disabled by setting the core.symlinks configuration option to false, after which further clones and fetches will not create symbolic links. However, any symbolic or hard links in existing repositories will still provide the opportunity for Git LFS to write to their targets.
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-2025-26625 a été découverte dans github.com/git-lfs/git-lfs.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour github.com/git-lfs/git-lfs vers 3.7.1 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « github.com/git-lfs/git-lfs CVE-2025-26625 » sur le site de l'éditeur.
CVE-2025-26625 (github.com/git-lfs/git-lfs) — CWE-59
Correctif : 3.7.1 — 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.
Une vulnérabilité (CWE-59) affecte github.com/git-lfs/git-lfs.
Consultez l'avis de l'éditeur pour les versions affectées de github.com/git-lfs/git-lfs.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 3.7.1.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
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 'github.com/git-lfs/git-lfs' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/git-lfs/git-lfsを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade github.com/git-lfs/git-lfs to 3.7.1ステージング環境で 3.7.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-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-2025-26625 git-lfs Corrigé dans: 2.13.2-1+deb11u2
Références
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web lists.debian.org
- web cve.mitre.org
- web nvd.nist.gov
- web github.com