From nobody Wed Sep 06 19:13:07 2023 X-Original-To: freebsd-announce@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 4RgsTb5gsYz4s0rw for ; Wed, 6 Sep 2023 19:13:07 +0000 (UTC) (envelope-from security-advisories@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RgsTb3QsGz4dpp; Wed, 6 Sep 2023 19:13:07 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694027587; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=4UpSSQL9E5DJq0uAwKjy0kwjcR1BcmBSnlRGLqWhQC0=; b=EsRO+PQCEvjOvRsHc8IZWEhQI3DQrND/92AnpBH7TZMvqVXmYOnYOaJao+Q2nqh6FDRJUY 6abYqTLurP8KbmAwZRH7dcTNFRlIG54jD8aAfrECmMSVukHILta/b6BvVVDYF2DMaRijZn k8yuIfRakJjykHZVmIUhyB/OK2/qwBDQEfoayKJ2RwuhNZfrIm9ou9hvL8j/An1FSBIQHH ap8hHvp7fEDcvnAvUMX5Fl3VfnVXpqr2gqsU44CO6hsT5x20XjobhqXG1kZUBzK3EE3C5d KbiWOI8eyY2lz0APEwIVmPyVGZK7KxQKw4Ck/5OL/DBNtakh8FjDvPKK+ry9NA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694027587; a=rsa-sha256; cv=none; b=hp9/bRFI1fi0f0aRHxIyQOnPnmBOPDDY+vpx/aaxkCSyWASwiF0eplypIihELzydVnKtJT tS8i0Hxt9tRTJyaJLtDdMTQzZ4nWL1UHkZI+pXu9HWyHbEsumIvGXRUcEA+oTyG/brhIhq tLvY6NvV0u9JpEGOVIaJ1k6gCSBw5CqF+5BnYJrrFMVgY4KApk6A8a6AgsIMSDaEgKMI40 LcdJwkCmGIWvbO4JK5dLZDTfYMAT5KOr8/Ee32KCkEpGJ1/q+xeuKnL2SVwYbWcB7eW+CV N8KafSCWkEaoghOyWfQGDsgY3zzr7119oM4e0TabdwCQ2pFLp9G8MOujiTPJlA== 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=1694027587; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=4UpSSQL9E5DJq0uAwKjy0kwjcR1BcmBSnlRGLqWhQC0=; b=muMAFUOLz8bbDelmFavE52IBBLaXlpjzS62kDziYq0Yb2F+znCf3mRagabH2ySoLvkfi/C 5rBE7IYbnvhVIBd5mkh/+NQbReh0mhEP9dqlbzGBfIiooMwy3Uo1SSBIbVzs4GuZLvKF5s 7/vSOuls07PCaYB+tJNyADd1V2fZ6mEqVMPYxxY6dgTIBKyz/Oq0nCXJWKJbLaJZ77z3hG oVaOmuaU2YgQpOzh993oZWw1+3YSnz5sp9VxhBL5i5RpLXjvydVc/t1QXIHkc227nQqtkG AhIJw+GRbMkt9mjMfKozq+4dQCyMRK3eFbpIbigUsUmOp/HlTDOj+ieDT4xjDw== Received: by freefall.freebsd.org (Postfix, from userid 945) id 5E44011E82; Wed, 6 Sep 2023 19:13:07 +0000 (UTC) From: FreeBSD Errata Notices To: FreeBSD Errata Notices Subject: FreeBSD Errata Notice FreeBSD-EN-23:09.freebsd-update Reply-To: freebsd-stable@freebsd.org Precedence: bulk Message-Id: <20230906191307.5E44011E82@freefall.freebsd.org> Date: Wed, 6 Sep 2023 19:13:07 +0000 (UTC) List-Id: Project Announcements [moderated] List-Archive: https://lists.freebsd.org/archives/freebsd-announce List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-announce@freebsd.org X-BeenThere: freebsd-announce@freebsd.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-EN-23:09.freebsd-update Errata Notice The FreeBSD Project Topic: freebsd-update incorrectly merges files on upgrade Category: core Module: freebsd-update Announced: 2023-09-06 Affects: FreeBSD 13.2 Corrected: 2023-05-16 21:34:10 UTC (stable/13, 13.2-STABLE) 2023-09-06 16:56:24 UTC (releng/13.2, 13.2-RELEASE-p3) For general information regarding FreeBSD Errata Notices and Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit . I. Background freebsd-update provides binary updates for supported releases of FreeBSD on amd64, arm64, and i386. II. Problem Description freebsd-update incorrectly deleted files in /etc/ in the event the file to be updated matched the new release and was different than the old release. This has not been an issue previously because the $FreeBSD$ tag expansion from subversion virtually guaranteed the existing file was going to be different from the new release. With the conversion to git in the 13.x releases, $FreeBSD$ is no longer expanded, making it much more likely that a file would find this issue. III. Impact Unmodified files in /etc/ may be deleted on running freebsd-update upgrade. IV. Workaround No workaround is available. V. Solution Upgrade your system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date. Perform one of the following: 1) To update your system via a binary patch: Systems running a RELEASE version of FreeBSD on the amd64, i386, or (on FreeBSD 13 and later) arm64 platforms can be updated via the freebsd-update(8) utility: # freebsd-update fetch # freebsd-update install 2) To update your system via a source code patch: The following patches have been verified to apply to the applicable FreeBSD release branches. a) Download the relevant patch from the location below, and verify the detached PGP signature using your PGP utility. # fetch https://security.FreeBSD.org/patches/EN-23:09/freebsd-update.patch # fetch https://security.FreeBSD.org/patches/EN-23:09/freebsd-update.patch.asc # gpg --verify freebsd-update.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch < /path/to/patch c) Recompile the operating system using buildworld and installworld as described in . VI. Correction details This issue is corrected by the corresponding Git commit hash or Subversion revision number in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/13/ 866e5c6b3ce7 stable/13-n255386 releng/13.2/ 0b39d9de2e71 releng/13.2-n254628 - ------------------------------------------------------------------------- Run the following command to see which files were modified by a particular commit: # git show --stat Or visit the following URL, replacing NNNNNN with the hash: To determine the commit count in a working tree (for comparison against nNNNNNN in the table above), run: # git rev-list --count --first-parent HEAD VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEthUnfoEIffdcgYM7bljekB8AGu8FAmT4vxEACgkQbljekB8A Gu9gmA/7BjuRje8BCxVKXenlsL0FbOLzpQd1Ac6+pQ8sYCotl9Z/S/BF0kgWGEyP ezkgQDndc90tzGBkFwSh55utFPDxycRJy2ybhg1ownZDyfwtSokWPSp0qdbu2wYD XBW2xwzsIIemvIOVAvCrn3GagIRMlziaFE8brtwiFCqAB4p4x/Ga9SRKvVPS5fVc FHBjWRvcNYXanz5VPZA3wbm5CIiGUC+4x22A2DPovcXT8yO1nbIyQpMUnfj+BrJ3 QPxVmIZsWWbGtkGgplpPuOyP/BPivkDR/TN0TI6fGRKSK517aycCmwF+cgD9Th+S oISBwO4jZ50tyi36FtaTT9PnkLqX39McCq9T9kCQ5GBhztepSe7S31C8FLdH95TT wgkML9X/7zoh5Y2i8IWvbvSrAJ/eOaO8VR97aITmbOxLj4dRHB1gfc5FhNLlmeF4 fz+VbVzOUEta/8PkDkEbbkuG2ttPs///KQB1Lu6V3UkZfIl0L40mzS+X8xMjWL9P TZBN1skjRcrEx8zaeyzTXEL2e4LX46wrKvm3Gvy0x5JOKgYy8ZHZpT3llChr3yTz oSxdEZ+oTttfXieHeDtXrxSnFi8Bvgy8j3jFtam7QNbaWYgaURlc7mUC+aUbd+J8 hYwE+RQFlK3nBpMvGfrFJhbl9RglpYC9qvK69V1zwDQ1DLjHnfk= =GZ0v -----END PGP SIGNATURE-----