From nobody Tue Mar 22 16:58:31 2022 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 1FEEE1A3A103 for ; Tue, 22 Mar 2022 16:58:32 +0000 (UTC) (envelope-from security-advisories@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 4KNHkJ0PnJz3FlN; Tue, 22 Mar 2022 16:58:32 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647968312; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=7w+i88lgkLLJ7Y9jC3dzVpgBZRWkHBQVWxj5qoeYnJM=; b=g+yqz/L8i79Ta1UBpCWfy6gMJWcYWqgOGMD569yL8B2uoTFerTml29r6Y7IuxUQIUUY53U pyyguxxjFsCpDgSuZl4DM4ApAg7lw5obk0ISV44ZUT3EaFEqPv0ZGwEjl82P1fW6Kbi1PK 2cWBIpL88gstLLpGNKqFNkszfa6Q0Z0tHmyHf8YCHWe7DWxIJr4tGuaSFF1sF4gX8vqW11 7zpgNZRM94WD/09P0wSkRuhPIiIc74JOXSd/zj7JOxPzzs2l9ZLNwA6ESlHsHGS5KgsUD1 /AT008S0xXnyFaQidP3LnREfE8bpoIbK/Ssnd4UMSRxDNJwqSaCyb0cLdlmLSw== Received: by freefall.freebsd.org (Postfix, from userid 945) id E50F91E865; Tue, 22 Mar 2022 16:58:31 +0000 (UTC) From: FreeBSD Errata Notices To: FreeBSD Errata Notices Subject: FreeBSD Errata Notice FreeBSD-EN-22:14.tzdata Reply-To: freebsd-stable@freebsd.org Precedence: bulk Message-Id: <20220322165831.E50F91E865@freefall.freebsd.org> Date: Tue, 22 Mar 2022 16:58:31 +0000 (UTC) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647968312; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=7w+i88lgkLLJ7Y9jC3dzVpgBZRWkHBQVWxj5qoeYnJM=; b=FRK8pctp91DvHbyXrzhD/+2Dvywl9VJd5Q/hoU2sNByo85oiM6d2DtFDCLjLiOh32BSE5H sVM0hAfE8CkfZ/HxHYLvHKiHNlPjqaSSEXmTAE0Z5Q9qvI3E2+zRNu0nsl/0aA2dAEku5B VxW5G7/C7Z+9UGoYu7vffZeYzJ1fdPFQeKCK3XkkZjVosjs+YWcpJBpP5dbVu/TQ2yEemd wIiQo7q16Q0EKQEAOzZluyRlocGyMafArc5/3JnnegvodYve7nn32ev5bzg2+WFFgxATHZ hLpJvUR8H9hU5Rhs/nokBeV7qKX8L8CDh38uZm9QguRJGt73fuIFlMC7EVqGiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647968312; a=rsa-sha256; cv=none; b=OCZXXFhJfvbgxSiBxebveV/k97YKwp3T0yMTGBhmGJQOE3zJnrv13Y3+gUt6W/eO66Wlvg fp9vjA21j3xoZEkI8XjQVSrQzXbSteOGgw1fOPWOL3RRtcTsjllOAXc2dsTyK/CppsEhhv /5J65xZ019LrtVCEuf5ktuVa4PHmebkAw7vRNAgnD1CWLIfB23sc37dJvAykRV0+vrw0Z5 oAo6S+HYAU2Ne3aUe1lyJpA9elgDm+Lf3jihUgj/cQxTY2ncI1dInxd57EBrxrtnItSU93 fZekQCJ+Z9kT2fwTmhUBumX7ThrxzzLA6nc9PQrD6/Y2wD8+NcqH5v+N9oEkJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N 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-22:14.tzdata Errata Notice The FreeBSD Project Topic: Timezone database information update Category: contrib Module: zoneinfo Announced: 2022-03-22 Affects: All supported versions of FreeBSD. Corrected: 2022-03-21 15:26:58 UTC (stable/13, 13.1-STABLE) 2022-03-22 15:54:06 UTC (releng/13.1, 13.1-BETA2-p1) 2022-03-22 15:54:07 UTC (releng/13.0, 13.0-RELEASE-p10) 2022-03-21 15:29:26 UTC (stable/12, 12.3-STABLE) 2022-03-22 15:56:37 UTC (releng/12.3, 12.3-RELEASE-p4) 2022-03-22 15:57:12 UTC (releng/12.2, 12.2-RELEASE-p15) 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 The IANA Time Zone Database (often called tz or zoneinfo) contains code and data that represent the history of local time for many representative locations around the globe. It is updated periodically to reflect changes made by political bodies to time zone boundaries, UTC offsets, and daylight-saving rules. FreeBSD releases install the IANA Time Zone Database in /usr/share/zoneinfo. The tzsetup(8) utility allows the user to specify the default local time zone. Based on the selected time zone, tzsetup(8) copies one of the files from /usr/share/zoneinfo to /etc/localtime. A time zone may also be selected for an individual process by setting its TZ environment variable to a desired time zone name. II. Problem Description Several changes to future and past timestamps have been recorded in the IANA Time Zone Database after previous FreeBSD releases were released. This affects many users in different parts of the world. Because of these changes, the data in the zoneinfo files need to be updated. If the local timezone on the running system is affected, tzsetup(8) needs to be run to update /etc/localtime. III. Impact An incorrect time will be displayed on a system configured to use one of the affected time zones if the /usr/share/zoneinfo and /etc/localtime files are not updated, and all applications on the system that rely on the system time, such as cron(8) and syslog(8), will be affected. IV. Workaround The system administrator can install an updated version of the IANA Time Zone Database from the misc/zoneinfo port and run tzsetup(8). Applications that store and display times in Coordinated Universal Time (UTC) are not affected. V. Solution Upgrade your system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date. Please note that some third party software, for instance PHP, Ruby, Java, Perl and Python, may be using different zoneinfo data sources, in such cases this software must be updated separately. Software packages that are installed via binary packages can be upgraded by executing 'pkg upgrade'. Following the instructions in this Errata Notice will only update the IANA Time Zone Database installed in /usr/share/zoneinfo. 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 Restart all the affected applications and daemons, or reboot the system. 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-22:14/tzdata-2022a.patch # fetch https://security.FreeBSD.org/patches/EN-22:14/tzdata-2022a.patch.asc # gpg --verify tzdata-2022a.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 . Restart all the affected applications and daemons, or reboot the system. 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/ 5dbd160076c0 stable/13-n250054 releng/13.1/ b7e7657b02f2 releng/13.1-n250005 releng/13.0/ 42f2f9f09cf1 releng/13.0-n244790 stable/12/ r371759 releng/12.3/ r371763 releng/12.2/ r371764 - ------------------------------------------------------------------------- For FreeBSD 13 and later: 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 For FreeBSD 12 and earlier: Run the following command to see which files were modified by a particular revision, replacing NNNNNN with the revision number: # svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base Or visit the following URL, replacing NNNNNN with the revision number: VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/A6HiuWv54gCjWNV05eS9J6n5cIFAmI5+6AACgkQ05eS9J6n 5cIwzhAAg91JwdZdUTzBofSoem2T4JzpdHQOdC+I6J8oH72PgAkyZo17FWVI9u/w t34euMJE+dPA48V3hO12fSXO9lgvxWJWTZF/tTiAibvdL9LqxLrGmWvZle7Bx+ne rdEXH+KmiWZhPB6cN9t7ZU35zM5UGbTc332xI7GnyeYS3tAnGnvKNYRwuiw1SBdc kpcOgpqg5F6jadzycZMwd/ovWY8+gRlj7JXhF+bbmK7GuH504uIzABZAGpoaiw2o 56YqK9qyW42nxc16QlxgSLIzVhl9XHBuQyHXIeLe/BPcIdqLCw73siumnKCo0ccJ AWCxCUjdb3fPuM5J+CwcmVJO1Qr2H+0KE+ntNqsyZg1iqDZkKcyW366bDIEU7qw8 Db4N7iaMkyG/uOjQHgpJX6YO8HjX1+2Bw2KRUF8sueYsVNHTsXs+8yp8093CMOY8 gvYFKACTziNiEkDN9PFmTTC+r7KzHXlFU9DK+C3nP0hZwd7jN1g5n6uJHfBX0gMx LN3VdKiu/dxukYJF1srSflq24G8sl0XxMCJ0LFgXSzofP45iG9qSJjvWwRAcxQ3k /FYwzY+sET+KcjeN3+F1PU/jAf6piWxjr+3FFvQWIOgGb3cgmjM/nlu0x/er7F1W 3e1iO8TB1Y6Gf7qYuvdMQmsn5jjCLpOShtYJrwYNLdSVa9K5Vx8= =Voiz -----END PGP SIGNATURE-----