From nobody Mon Mar 3 04:45:54 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Z5mTt6VJpz5hty9; Mon, 03 Mar 2025 04:45:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Z5mTt5csqz3nHV; Mon, 03 Mar 2025 04:45:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740977154; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=24/mVhkmskkkbi4c8m+boDR5it+ktLm6v5q/YjlqMqM=; b=lV4XmEmK32UeKKeIls7iv+X/UKaC6wu6fQGyisBd9TPuESoXg1msg31N6lnoyRxi9Tm6hW otYl9ncTiFIU74o3yTohB1jfZrJmweONlK7rY6kcttFpxev/xh0U9rMfsIw23FZ2I95N5N b4sASc0iwW5EqK+4OXgC4uxL2UDqWsU9wg4vQo8dZgwpibl+0gdFWdF7RU2eovuq6kUvSE Feh0xn5WAbeCNVOBciYJRqwja3oeePM3vv9vhNYV54eHEJkqwLSvHzbgjO68ctdtjvJuhP hV5hlOR3/jQ53wlLCTnoN6q9AGhrWnhM/FRzSbtm3zpEvO+JAlCJiJWBRtynLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1740977154; a=rsa-sha256; cv=none; b=mZguqlRh78S8z++yS2sfcqq7MttN1cn9dkKti30NPHP3yvY//uWjwu+N0Vws9rTLBA+A49 Ug7jW3CxmM8LnAQ10htcArWZRpFlhzImCilL6vZX0XfCQO6QSvUipD9dfQaFB3z13fARbG tfYieszzLVZ/Dz8IdOhDAgaQrhX90ubpaEH8+CzllwP7cnpO3B5d/vbFy/ui46djdA2bHA AG/yuU5k2mv/1v5+5ToaLfwbeYybXWMhq7sPvsPc/Rl/fa+lsgdgDeWiThpa9NuYWIEavi jc2SBzDFH3x/We9qFPj77Tya58KKF7+C8edMhWxRWLTrS8ZcedWRv+DIQbFdcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1740977154; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=24/mVhkmskkkbi4c8m+boDR5it+ktLm6v5q/YjlqMqM=; b=uLH5YPJg7XROy4+O3uWnP69pERlVFZ8ecO9VosIm9LuNpTH6ukirnUfcWG1yWr4wiwShdO qINzOe/HS2SZYCjilk2/vHjc5wjfIypNeO/dA3MV2yHhaeeefpoTOFPBgnsDFSrllRVi9S Jqtij0U/X9c9tATL9Gz8LC6XvAfkXci1G6j5OJvcO1zJzVoUguMat9W1pomYS5mSuKnDwB NLvr53AFEoIB6+Sa+LvgKfkNv2J/xiwx+XIglwyEiICbJTeuruNME36+1jXNDfI4rJKXnm tEzKIFx2l0LfnA/IJjVV/FGjfZPnp4qJBUEZZoRiaXm1qq4yneuSmfG+2M3EOA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Z5mTt4ZMnzYkp; Mon, 03 Mar 2025 04:45:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5234js5F021612; Mon, 3 Mar 2025 04:45:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5234jsK9021609; Mon, 3 Mar 2025 04:45:54 GMT (envelope-from git) Date: Mon, 3 Mar 2025 04:45:54 GMT Message-Id: <202503030445.5234jsK9021609@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adam Weinberger Subject: git: 003195a3c754 - main - vuxml: Document vim code execution List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adamw X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 003195a3c754204bc61aaa39fea85fd62004b014 Auto-Submitted: auto-generated The branch main has been updated by adamw: URL: https://cgit.FreeBSD.org/ports/commit/?id=003195a3c754204bc61aaa39fea85fd62004b014 commit 003195a3c754204bc61aaa39fea85fd62004b014 Author: Adam Weinberger AuthorDate: 2025-03-03 04:45:48 +0000 Commit: Adam Weinberger CommitDate: 2025-03-03 04:45:48 +0000 vuxml: Document vim code execution --- security/vuxml/vuln/2025.xml | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/security/vuxml/vuln/2025.xml b/security/vuxml/vuln/2025.xml index 15bf6827ba4e..b5008bde1e8a 100644 --- a/security/vuxml/vuln/2025.xml +++ b/security/vuxml/vuln/2025.xml @@ -1,3 +1,48 @@ + + vim -- Potential code execution + + + vim + vim-gtk2 + vim-gtk3 + vim-motif + vim-x11 + vim-tiny + 9.1.1164 + + + + +

vim reports:

+
+

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. +

+ +
+ + https://github.com/vim/vim/security/advisories/GHSA-wfmf-8626-q3r3 + + + 2025-03-02 + 2025-03-02 + +
+ Gitlab -- Vulnerabilities