git: ead69c91fa0a - 2025Q1 - editors/vim: Update to 9.1.1164 (security, high severity)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Mar 2025 04:13:35 UTC
The branch 2025Q1 has been updated by adamw: URL: https://cgit.FreeBSD.org/ports/commit/?id=ead69c91fa0ab64fbe70a4f7e6da1973a04e4b4f commit ead69c91fa0ab64fbe70a4f7e6da1973a04e4b4f Author: Adam Weinberger <adamw@FreeBSD.org> AuthorDate: 2025-03-03 04:00:23 +0000 Commit: Adam Weinberger <adamw@FreeBSD.org> CommitDate: 2025-03-03 04:13:15 +0000 editors/vim: Update to 9.1.1164 (security, high severity) From the Github Advisory (https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3): Summary: Potential code execution with tar.vim and special crafted tar files. Description: Vim is distributed with the tar.vim plugin, that allows easy editing and viewing of (compressed or uncompressed) tar files. Since commit 129a844 (Nov 11, 2024 runtime(tar): Update tar.vim to support permissions), the tar.vim plugin uses the ":read " ex command line to append below the cursor position, however the is not sanitized and is taken literaly from the tar archive. This allows to execute shell commands via special crafted tar archives. Whether this really happens, depends on the shell being used ('shell' option, which is set using $SHELL). Impact: Impact is high but a user must be convinced to edit such a file using Vim which will reveal the filename, so a careful user may suspect some strange things going on. The Vim project would like to thank RyotaK (GMO Flatt Security Inc) for reporting this issue. The issue has been fixed as of Vim patch v9.1.1164. MFH: 2025Q1 Security: GHSA-wfmf-8626-q3r3 (cherry picked from commit c7aeeb0958ae7cba9ceb3f734c0f21e1722d8680) --- editors/vim/Makefile | 2 +- editors/vim/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/editors/vim/Makefile b/editors/vim/Makefile index adbbc212dbce..5a792383d5c5 100644 --- a/editors/vim/Makefile +++ b/editors/vim/Makefile @@ -1,5 +1,5 @@ PORTNAME= vim -PORTVERSION= 9.1.0984 +PORTVERSION= 9.1.1166 DISTVERSIONPREFIX= v CATEGORIES= editors diff --git a/editors/vim/distinfo b/editors/vim/distinfo index ce544689ea14..42237eeb2869 100644 --- a/editors/vim/distinfo +++ b/editors/vim/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1735869944 -SHA256 (vim-vim-v9.1.0984_GH0.tar.gz) = 1a821c8fa4fe176e2713ac38ed37fe85da6785d9095233dd830e5e97f2aad681 -SIZE (vim-vim-v9.1.0984_GH0.tar.gz) = 18380062 +TIMESTAMP = 1740975157 +SHA256 (vim-vim-v9.1.1166_GH0.tar.gz) = 18543682cffe511407ef6a61af6df842d60232fad58c7c02544ae5860107e6be +SIZE (vim-vim-v9.1.1166_GH0.tar.gz) = 18510701