Vulnérabilité dans vim
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 ALPINE-CVE-2025-26603 a été découverte dans vim.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour vim vers 9.1.1164-r0 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « vim ALPINE-CVE-2025-26603 » sur le site de l'éditeur.
ALPINE-CVE-2025-26603 (vim)
Vecteur d'attaque : local
Correctif : 9.1.1164-r0 — 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é (non classée) affecte vim.
Consultez l'avis de l'éditeur pour les versions affectées de vim.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 9.1.1164-r0.
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
-
1
Identify exposureidentify
grep -r 'vim' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
vimを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade vim to 9.1.1164-r0ステージング環境で 9.1.1164-r0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
| Écosystème | Paquet | Concernées | Corrigé |
|---|---|---|---|
| Alpine:v3.22 | vim |
< 9.1.1164-r0 |
9.1.1164-r0 |
| Alpine:v3.23 | vim |
< 9.1.1164-r0 |
9.1.1164-r0 |
Description d'origine La description telle que publiée par la source (souvent en anglais).
Vim is a greatly improved version of the good old UNIX editor Vi. Vim allows to redirect screen messages using the :redir ex command to register, variables and files. It also allows to show the contents of registers using the :registers or :display ex command. When redirecting the output of :display to a register, Vim will free the register content before storing the new content in the register. Now when redirecting the :display command to a register that is being displayed, Vim will free the content while shortly afterwards trying to access it, which leads to a use-after-free. Vim pre 9.1.1115 checks in the ex_display() function, that it does not try to redirect to a register while displaying this register at the same time. However this check is not complete, and so Vim does not check the + and * registers (which typically donate the X11/clipboard registers, and when a clipboard connection is not possible will fall back to use register 0 instead. In Patch 9.1.1115 Vim will therefore skip outputting to register zero when trying to redirect to the clipboard registers * or +. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: OSV.dev (Open Source Vulnerabilities) OSV
Références
- advisory security.alpinelinux.org