From nobody Wed Sep 6 19:13:35 2023 X-Original-To: freebsd-security-notifications@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 4RgsV75WFWz4s1Gw for ; Wed, 6 Sep 2023 19:13:35 +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 4RgsV74mMyz3CGf; Wed, 6 Sep 2023 19:13:35 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694027615; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=rUXsyxpu5d5bnWPVsPdT0yFdENFlQFUOl3C5sfpum3Y=; b=UZPDk4WQ2Xmi5TJflRQXymJiKfppe4mq/AnsSxMu7IHWqDTTwok1O0MO2nkxlboWSBMJlT bnVuqfI3kZRt16cOmFeukgdRvPmoaDv67O2ND9jHE/TCf59OSFdOn8GFwWTkeORhyJlHJx R5p7CgQi8SQ2BG93BNS2RayFW1cJCW4+uDsX466KrfnvRDXEJAYj/L4H+rDS1FRzSg9gGg U9ssw0epgTW+O8RsemS0h3jsTolUrd9W0zCcVJnY0tDS5wsi68q7aYCSIoiuuhsgbmKZea jtmoRdxIMzJr2debIfUy9QEjFJhjJHVdFdYUT0Klq9e2M5yGbLDTiyRPSAOpaA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694027615; a=rsa-sha256; cv=none; b=BXXaUQ/6LmhqCJ8utMTB+4wk5Zjxk+tsoeADYSakx/nOtVzrDVRwquM6XuLXAiDFJELxvk bh6QI9+XBngF7O0xuQD5sjfubqh7jj1Gy/+rVHq4q2o3bQHIffVc20awTnhWkrPYRp8o4T 0nLES/7RYTpCKp25g13sbk6wObGL8d7rL31xiMD21fK9JJVWmKOc0pi36fRTCpW0MzauYb C8DY8g4uEgJPr6Kj/LEeq6aJLe8hfH+geQDB/9aBAJrP3DUFC6qwSQE4Z+WS3OTQ2+e+Op M8qzrMG0BYFcTkQh+100B64FuTs6O7FHx9UHIdk+gYyBqouqz07v7dYyD5zRIg== 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=1694027615; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=rUXsyxpu5d5bnWPVsPdT0yFdENFlQFUOl3C5sfpum3Y=; b=ySDRvy+kLDW/1vvQ8idDnqbzMPg+aBOhVS2leASS+wu6uDF3Gg1gp89yJUKBPBKeL+Zr5e ktPiCxQb3cDB/FCjo0geJrWeMTmErkpDRnvXS7ijDUB7pnPpkurNbcAmJpVxK9CFgMMUhe ozUfPdRzMjVXSf0UCjpcQ6y4hbTsqbf16xHNDB7UCtvUgUrZ9uxSIJxZFNjXDBUc87cIcA zjnntTx5+NRD9XANNeQZpim3DKa0OdUwQpOtjLueB2iCeLzHePbJEDnugs7DWyjzjHU2RG z4mSZ707nrOyBc7EZiQRDJZgJMAcx1SCUNUr+EXpsyzgBYFyXB+LADEGG9hcjg== Received: by freefall.freebsd.org (Postfix, from userid 945) id 870EF11CB0; Wed, 6 Sep 2023 19:13:35 +0000 (UTC) From: FreeBSD Security Advisories To: FreeBSD Security Advisories Subject: FreeBSD Security Advisory FreeBSD-SA-23:10.pf Reply-To: freebsd-security@freebsd.org Precedence: bulk Message-Id: <20230906191335.870EF11CB0@freefall.freebsd.org> Date: Wed, 6 Sep 2023 19:13:35 +0000 (UTC) List-Id: Moderated Security Notifications [moderated, low volume] List-Archive: https://lists.freebsd.org/archives/freebsd-security-notifications List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-security-notifications@freebsd.org X-BeenThere: freebsd-security-notifications@freebsd.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-23:10.pf Security Advisory The FreeBSD Project Topic: pf incorrectly handles multiple IPv6 fragment headers Category: core Module: pf Announced: 2023-09-06 Credits: Enrico Bassetti bassetti@di.uniroma1.it (NetSecurityLab @ Sapienza University of Rome) Affects: All supported versions of FreeBSD. Corrected: 2023-08-04 14:08:05 UTC (stable/13, 13.2-STABLE) 2023-09-06 16:58:39 UTC (releng/13.2, 13.2-RELEASE-p3) 2023-08-04 14:14:08 UTC (stable/12, 12.4-STABLE) 2023-09-06 17:38:31 UTC (releng/12.4, 12.4-RELEASE-p5) CVE Name: CVE-2023-4809 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit . I. Background pf is an Internet Protocol packet filter originally written for OpenBSD. pf can reassemble fragmented IPv6 packets in order to apply rules on the reassembled packet. This allows pf to filter based on the upper layer protocol (e.g. TCP, UDP) information. IPv6 packets may be fragmented by the originating node, and will then contain a fragment extension header. An IPv6 packet will normally contain only one fragment extension header. II. Problem Description With a 'scrub fragment reassemble' rule, a packet containing multiple IPv6 fragment headers would be reassembled, and then immediately processed. That is, a packet with multiple fragment extension headers would not be recognized as the correct ultimate payload. Instead a packet with multiple IPv6 fragment headers would unexpectedly be interpreted as a fragmented packet, rather than as whatever the real payload is. III. Impact IPv6 fragments may bypass firewall rules written on the assumption all fragments have been reassembled and, as a result, be forwarded or processed by the host. IV. Workaround No workaround is available but systems not using the pf firewall are not affected. V. Solution Upgrade your vulnerable system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date and reboot. Perform one of the following: 1) To update your vulnerable 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 # shutdown -r +10min "Rebooting for a security update" 2) To update your vulnerable 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. [FreeBSD 13.2] # fetch https://security.FreeBSD.org/patches/SA-23:10/pf.13.patch # fetch https://security.FreeBSD.org/patches/SA-23:10/pf.13.patch.asc # gpg --verify pf.13.patch.asc [FreeBSD 12.4] # fetch https://security.FreeBSD.org/patches/SA-23:10/pf.12.patch # fetch https://security.FreeBSD.org/patches/SA-23:10/pf.12.patch.asc # gpg --verify pf.12.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch < /path/to/patch c) Recompile your kernel as described in and 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/ 3a0461f23a4f stable/13-n255953 releng/13.2/ 41b7760991ef releng/13.2-n254631 stable/12/ r373157 releng/12.4/ r373186 - ------------------------------------------------------------------------- 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----- iQIzBAEBCgAdFiEEthUnfoEIffdcgYM7bljekB8AGu8FAmT4vykACgkQbljekB8A Gu9Mow//ZodkaAf0AGC2T+CSDco592Mq7+T8V5YyqIZxGXRn55sFuVKS8cQ8a0cT DJ98QV0ht0WITYrBPGbllzVvT4w3bos1U0SB2z3tPjrbfNL8vaXgVl/Du3KZaPAs 0h4fNR/R3b6XzHgFhqYKG8Q7/u21fLmwu9HpYHQ7nplWg2mS2uQeuTMtr+uoOBS2 XPc/FpYtL2VXO2aEY3K1A/QCY6lBRxqKTTEi01j9gnyuK4L3QoLWqDdrAKM3RoDc wmstnn/KQAJkeMnmIOmDh0GdnAVdVyPBdI0KM86pz5L0AT0uQib0sal0yj72kCsg oi6flocqESDNzYPgh/nZEjCHzcRhGWxcsjhTzjBQSTW/HSarQ+wbZuIpUlUQG3A6 oEhRBj201t4+FUSwCQfr5QdivxwtMHHJYSXqo4nyD3AsRQ2HTnFNcqq26h+bgjhR HmdBvffQ5lQUrtDKDb4XXr8RLFbk2RmjeD/zZfb1zhezSmJi4cD6LrClxer5aRFo djoqVwjzKsg/9gLaDqr/UDObF6Ke6hs03yTs1Hjrp/DV29wWjJ8NKShezIEJOPTm lgK+jhcEbs5vR4woG3vll7Jfaz7W8vniM9cOz/7bvWOp924cHMmwWFod4DMVf9ry USB3v/ClFl5caJnoYYwKiIfc/EyYrprTvMLcO6yzDkhWUlaws88= =bpCy -----END PGP SIGNATURE----- From nobody Wed Sep 6 19:13:40 2023 X-Original-To: freebsd-security-notifications@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 4RgsVD3yHyz4s1Mx for ; Wed, 6 Sep 2023 19:13:40 +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 4RgsVD2zzGz3CPT; Wed, 6 Sep 2023 19:13:40 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694027620; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=Ha3i2fj+MRIRX/lDWH/cZ+ejgP1sVORJma0GNsWC5zU=; b=X2VLWBW9/ftncKBb4Eujv4yfKo/9J+8Q+Id6FZws+87S38E5ZG4djLz018fqz/rcNNTeIN Lm6UtTJdKRp2O2zVnNoW99P6yd7CLbt3Axew/7dLAReEdPB2nbvuq00emstAwFS0QDUSf9 BLQafVVjLKUSfZnCkmbPT50UOby4BXpDVHm5t8VYNKNpJOeBA59/WtfGKOY7WMDP641aaW YbQOufsCz2iHSzMondr4nBeqoEa6gkeE9HkP4pCjJlEs8Q1rpg9JBaxpm+4pxMPp/xFtsH NZ0g+3lWqf3EkZNMVN1nH9AA2pkwi//2bIiE9Xz4M2jDEkhOY6FEVT6t/Ko5ug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694027620; a=rsa-sha256; cv=none; b=sYVh3zs4srrNBwDR1Dc240qEdcbWMJiMJXEwSi6+vXrcBbBTEpQ8eWHTQ+JI+XF8jJfk+/ jZuw7ETHiIQHOMEuraWJwwmGBv8f3XNbfnTfb8EuX8GBGNcusQjUd2YmrpB52LA+06bBjm F1qhfG/sl84YxZUaEEE4BWr7Uu6nBEljdOhZkZjPOXOoPlDSa0NtJvf6QJF4p65preov1U YwbPhbpXXd+bEDpTTmlp/a5UiUw69ixEGmrOMV4c9WKJdhveomY8r/JKqYiqqS8bCMKqEF jrSOafoLEqaOhfJd8hMuPiddTGIEpBtmJW2LjoCBQd6C4r6govtYL2iKT/OL4A== 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=1694027620; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=Ha3i2fj+MRIRX/lDWH/cZ+ejgP1sVORJma0GNsWC5zU=; b=YF5kSxsegeaOgVrInXznljwhUnlnAPkbEQsFtJ1pRktCef3i3UKhPBmmrWcYu1pk85Pb9G kOk9sm5IwmzQGIs1QvNM0igb4LYh93hgaaX3TaxhHZDdluMaMp+PZ1rpQM1OCP6KmoctTw 7ReMRvM+f1t383NfxpWJst+NHIL96lkNv37ypcthJcidRjBboSwGn9W8Q3WsWeLYnCa/kq +45M6s6Wq2ms0it98mZfuWeBdVtX6C43GVFpQi0dcVEpjv357X/64KAqrTzDpRl4eLy+ek 6uvO54VIW1XkYqjaKwpoQtAW2GNY0Oa4ua4HZGw/IFCiQW3rlBa99lLQG2c7cg== Received: by freefall.freebsd.org (Postfix, from userid 945) id 5E49211D1D; Wed, 6 Sep 2023 19:13:40 +0000 (UTC) From: FreeBSD Security Advisories To: FreeBSD Security Advisories Subject: FreeBSD Security Advisory FreeBSD-SA-23:11.wifi Reply-To: freebsd-security@freebsd.org Precedence: bulk Message-Id: <20230906191340.5E49211D1D@freefall.freebsd.org> Date: Wed, 6 Sep 2023 19:13:40 +0000 (UTC) List-Id: Moderated Security Notifications [moderated, low volume] List-Archive: https://lists.freebsd.org/archives/freebsd-security-notifications List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-security-notifications@freebsd.org X-BeenThere: freebsd-security-notifications@freebsd.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-23:11.wifi Security Advisory The FreeBSD Project Topic: Wi-Fi encryption bypass Category: core Module: net80211 Announced: 2023-09-06 Credits: See the paper linked in the References section. Affects: All supported versions of FreeBSD. Corrected: 2023-06-26 12:02:00 UTC (stable/13, 13.2-STABLE) 2023-09-06 17:13:25 UTC (releng/13.2, 13.2-RELEASE-p3) 2023-06-26 12:30:23 UTC (stable/12, 12.4-STABLE) 2023-09-06 17:38:34 UTC (releng/12.4, 12.4-RELEASE-p5) CVE Name: CVE-2022-47522 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit . I. Background FreeBSD's net80211 kernel subsystem provides infrastructure and drivers for IEEE 802.11 wireless (Wi-Fi) communications. Wi-Fi communications rely on both unicast and multicast keys to secure transmissions. II. Problem Description The net80211 subsystem would fallback to the multicast key for unicast traffic in the event the unicast key was removed. This would result in buffered unicast traffic being exposed to any stations with access to the multicast key. III. Impact As described in the "Framing Frames: Bypassing Wi-Fi Encryption by Manipulating Transmit Queues" paper, an attacker can induce an access point to buffer frames for a client, deauthenticate the client (causing the unicast key to be removed from the access point), and subsequent flushing of the buffered frames now encrypted with the multicast key. This would give the attacker access to the data. IV. Workaround No workaround is available. Systems not using Wi-Fi are not affected. V. Solution Upgrade your vulnerable system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date and reboot Perform one of the following: 1) To update your vulnerable 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 # shutdown -r +10min "Rebooting for a security update" 2) To update your vulnerable 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/SA-23:11/wifi.patch # fetch https://security.FreeBSD.org/patches/SA-23:11/wifi.patch.asc # gpg --verify wifi.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch < /path/to/patch c) Recompile your kernel as described in and 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/ 6c9bcecfb296 stable/13-n255680 releng/13.2/ 7f34ee7cc56b releng/13.2-n254632 stable/12/ r373115 releng/12.4/ r373187 - ------------------------------------------------------------------------- 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----- iQIzBAEBCgAdFiEEthUnfoEIffdcgYM7bljekB8AGu8FAmT4vywACgkQbljekB8A Gu+GuRAA1BydNZjSchRULzII3OtSfiF2Q3fF+d6bXOuUKuEOgKJvguTdeg1vqlOK 4V/1pEOUfYQE+nn+7s4Dc8L3TKLcPECYo8nvaO+5JvhEDpEbmHZRf9P6vz9Isi5X jjDP+ybY5pl1Gv74AkPeWzp9OZxBBAp/CJcpAMS/y3Onn3J6Okwsns5TXlaPA401 /iamphDSBhH1fUP0OeE9fFAWZrVnFHkrDNr+T+dd7vFyr964g/xRCQaCI5mDf+Z3 dYIydrOgdvmev/7h460bygz+NOQ5Hd+YAgHmNbXZd9WUvE0iJtFZh2EPWshSNmRj 5Tw+VocK8xRNCL0w6owC5Ag/pAAHURY7ffJbgMv5N4xAp6js9MSggIsyJ0YV1Own 4JfAXPib6YTlhdfHWoUaaFSRBPCOoF72mj7jTMCz/iFJj78XMtp/rk9iGT5cfKsF RQ7zfqm6qbg9lEbjGAM2OR4SWvW2umiiXDZDTKHyGzdWoFA6WNlkKIxYi8e7ti9E ksvqDN1v9A6FD3KD+ygPCVvAZwxbFmInAd5HPZFi8UjdhFZ4ql5HYFfjTVBmE1co H+I1apa+9Ssq7CRQmAc/blY03i/SmhTNNNnNoIbwAC4DLI9nx/orYdoJksaneYkP QcOT19Jh83UYGHx2bqlVZGfggvXQgwffXhLliLwwUxtCJhGwElQ= =lSpK -----END PGP SIGNATURE-----