From nobody Fri Oct 27 07:25:58 2023 X-Original-To: dev-commits-ports-all@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 4SGvN65Vd8z4xtvk; Fri, 27 Oct 2023 07:25:58 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SGvN64rlwz3PdB; Fri, 27 Oct 2023 07:25:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698391558; 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=4OVYdLBwE2kw5iNpDUkt4XFEv3NK/7R45iTRgj/IHSs=; b=jIG335fIOJx0QeyUmNzseHgYMHfp3SuwcHbQXNI6tnfwYd5wFYQdijaNpr+Su5EGSHgSSM GmIKfJiNhzvbpc9xK70l9S5xQBVhbkYZKkA36Mu2Fqp9I9Q+ZWroQsJKZDctOMHgwgoyqx Cn7VExKrVYPL6aU/+zckvouPN0eT0XPeKZ5EsK/BuC3cypidQ2aQlOMF9RilfvxMaYZB5s XmTMdntODle7kS+0ScoaZ8q+lmLXooqbEeajs1QmuQR4USKYRIUiD3p3nE1huvihhnOewv PEG3KWEdSNw9t3oebNhAJsQxo32X8x4EeimN9R96VjlGz6h7JdM0smkpXmP5ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698391558; 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=4OVYdLBwE2kw5iNpDUkt4XFEv3NK/7R45iTRgj/IHSs=; b=Xl5+HS+m98nkDp6O8Z5PHtTnT9N4MLw5AxCvlXK4H7Gf03yLJCdohHKwF4p81HjW0kauB9 kgP/ONucSIGyMRglCyUGBqMQ+caTZ/bDot/VabJsDqVHk6I78yufbAQyZ7k8xewL4jqHvO Y3jDHoKFcf1m3svG0bc4/UQ+nTVZT7VWYg/cNa4nQtx+vgw07X/Kta7baJWVUcI/taev81 tJ0rFdk0ttxqBdMHVDkjnr73ZHgVuC8d24tnFVARLAPzJEk6GpALimR3h6bsFA+VtW3re5 zs07voBG7PXyszaRm4r9qaTkVhRt9oqhRksaYJhovujrc76XJ7h2+ripGJ9uPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698391558; a=rsa-sha256; cv=none; b=VeERGT34v8rww+Oeit+c9Sb6crhGQqF6Q43X/SFZrk9ud/1z1Q2mKjHPkoCWVfF4729FE0 3E2oqQAofbRY55dfxsd/fN3naZPnAQPYUwZvfvpcZ+U4+p1eTFwBpLNmGSHjwwnd4itV7Q 0h9bl/IArYpMFnZE9EVBbXf4IXADKLOrr/+56VwGfBXFjY/ctjpcjm2fPZ5wmM5EB3bqOG /N7k4dDt0SERMNV/QRHin9GLCbmCDKOJZoaeuwOHceQCimdTpU+mAnGVS75Lyr73D8ocIu WL/ilSPnrHcqm6bVRR+K9z5K+LWNDZ6BeKsheLDc/hwAgoh1Vjy8KWOYeK4+vw== 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 4SGvN63pLNz14hR; Fri, 27 Oct 2023 07:25:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39R7Pwd7075360; Fri, 27 Oct 2023 07:25:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39R7PwDS075357; Fri, 27 Oct 2023 07:25:58 GMT (envelope-from git) Date: Fri, 27 Oct 2023 07:25:58 GMT Message-Id: <202310270725.39R7PwDS075357@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Fechner Subject: git: 7182e7a63684 - main - textproc/rubygem-dartsass: fix security problem List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mfechner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7182e7a63684aeda919490915f2b9015fdf839dd Auto-Submitted: auto-generated The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=7182e7a63684aeda919490915f2b9015fdf839dd commit 7182e7a63684aeda919490915f2b9015fdf839dd Author: Matthias Fechner AuthorDate: 2023-10-27 07:24:35 +0000 Commit: Matthias Fechner CommitDate: 2023-10-27 07:25:40 +0000 textproc/rubygem-dartsass: fix security problem The port installed file that are world writeable. Fix this problem. It is also reported upstream: https://github.com/ayushn21/dartsass-ruby/issues/1 --- textproc/rubygem-dartsass/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/textproc/rubygem-dartsass/Makefile b/textproc/rubygem-dartsass/Makefile index 65f761721e21..5bcbb045e012 100644 --- a/textproc/rubygem-dartsass/Makefile +++ b/textproc/rubygem-dartsass/Makefile @@ -1,5 +1,6 @@ PORTNAME= dartsass PORTVERSION= 1.49.8 +PORTREVISION= 1 CATEGORIES= textproc ruby MASTER_SITES= RG @@ -13,4 +14,12 @@ USES= gem PLIST_FILES= bin/dartsass +# The port installs binaries world writeable +# Reported upstream here: https://github.com/ayushn21/dartsass-ruby/issues/1 +# Fix this here, till they provide an upstream fix for this security problem +post-extract: + ${CHMOD} 0755 ${WRKSRC}/exe/linux/sass + ${CHMOD} 0755 ${WRKSRC}/exe/darwin/sass + ${CHMOD} 0755 ${WRKSRC}/exe/darwin/src/dart + .include