FreeBSD Security Advisories
2020-Apr-21 16:55 UTC
FreeBSD Security Advisory FreeBSD-SA-20:11.openssl
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================FreeBSD-SA-20:11.openssl Security Advisory The FreeBSD Project Topic: OpenSSL remote denial of service vulnerability Category: contrib Module: openssl Announced: 2020-04-21 Credits: Bernd Edlinger Affects: FreeBSD 12.1 Corrected: 2020-04-21 15:47:58 UTC (stable/12, 12.1-STABLE) 2020-04-21 15:53:08 UTC (releng/12.1, 12.1-RELEASE-p4) CVE Name: CVE-2020-1967 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:https://security.FreeBSD.org/>. I. Background FreeBSD includes software from the OpenSSL Project. The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured Open Source toolkit for the Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols. It is also a full-strength general purpose cryptography library. II. Problem Description Server or client applications that call the SSL_check_chain() function during or after a TLS 1.3 handshake may crash due to a NULL pointer dereference as a result of incorrect handling of the "signature_algorithms_cert" TLS extension. The crash occurs if an invalid or unrecognized signature algorithm is received from the peer. III. Impact A malicious peer could exploit the NULL pointer dereference crash, causing a denial of service attack. IV. Workaround No workaround is available. V. Solution Upgrade your vulnerable 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 vulnerable system via a binary patch: Systems running a RELEASE version of FreeBSD on the i386 or amd64 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-20:11/openssl.patch # fetch https://security.FreeBSD.org/patches/SA-20:11/openssl.patch.asc # gpg --verify openssl.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 <URL:https://www.FreeBSD.org/handbook/makeworld.html>. Restart all daemons that use the library, or reboot the system. VI. Correction details The following list contains the correction revision numbers for each affected branch. Branch/path Revision - ------------------------------------------------------------------------- stable/12/ r360147 releng/12.1/ r360150 - ------------------------------------------------------------------------- To see which files were modified by a particular revision, run the following command, replacing NNNNNN with the revision number, on a machine with Subversion installed: # svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base Or visit the following URL, replacing NNNNNN with the revision number: <URL:https://svnweb.freebsd.org/base?view=revision&revision=NNNNNN> VII. References <URL:https://www.openssl.org/news/secadv/20200421.txt> <URL:https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-1967> The latest revision of this advisory is available at <URL:https://security.FreeBSD.org/advisories/FreeBSD-SA-20:11.openssl.asc> -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE/A6HiuWv54gCjWNV05eS9J6n5cIFAl6fHLBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZD MEU4NzhBRTVBRkU3ODgwMjhENjM1NUQzOTc5MkY0OUVBN0U1QzIACgkQ05eS9J6n 5cJEGw/7BWgBW3Vi98Sj0OFQnKUyckFaKxOY5WNl+N2k1MC5QIwtFRknS/i4xiBe wfpudj8PRiYe5sXC7C0vpHBB6LAq9RCflZAu3auRD/r/wShAq1wVY6nC7zJ+nXKX r7OuUj0NBQK7Gc5k89LEeRI8qjcJv7XwUY63msVvDUzqWwZeVDufrRnSwoUi0LR/ qbya9ICb9qt7o52QNpECccEUVB4Qc1mfdESpDi/7h/JYXvLptsa/W6DtTZRlJ2n/ f/hi2ja7xUD78NlQ6Sbc17+QUFWWIvyljl255Nhi3YhjWpFSWewmJg3aLqQ3O4uB g632jncGVFtRiDWHvUPqIx0Ephs3Ubd0llBsWXJ4uEQzeqVVVk05oomWDBjUoxW/ Iw7kfVJDBNrrIuNikhOaf3lmUEJ8iXUhg8NxLwoyq6v2SM2eFLqYxx9MLwH5RQkV nAuWszYSnxkReUE4oGrm7Vn3Mq7yhiM8KpNS08BSADeWRWEJSsdeA5BC2bLIUgE+ UKRDYaTyLSl9knHNmCd9W/8b3w03k2E4lrosc+hiaYoVB9l83e5elQm/tgdBynmL w653iJIoATgApXXresLW3x/by9+BhCq1fLkipDoaRZTrsg7zaYCyseDmfvmaV6Pn x8nm+i+VHeB8hp+vurijO9wuaisPs4LNv7pPcler2LmtAGYV3Lg=231J -----END PGP SIGNATURE-----
Masachika ISHIZUKA
2020-Apr-22 02:41 UTC
FreeBSD Security Advisory FreeBSD-SA-20:11.openssl
> # freebsd-update fetch > # freebsd-update install > # shutdown -r +10min "Rebooting for a security update"Hi. It did not update /etc/motd from 12.1R-p3 to 12.1R-p4. % uname -a FreeBSD onion.ish.org 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 GENERIC amd64 % su # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 12.1-RELEASE from update1.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata patches.. done. Applying metadata patches... done. Inspecting system... done. Preparing to download files... done. Fetching 17 patches.....10... done. Applying patches... done. The following files will be updated as part of updating to 12.1-RELEASE-p4: /bin/freebsd-version /boot/kernel/ipfw.ko /usr/bin/quota /usr/lib/debug/boot/kernel/ipfw.ko.debug /usr/lib/debug/usr/bin/quota.debug /usr/lib/debug/usr/lib/libssl.so.111.debug /usr/lib/debug/usr/lib32/libssl.so.111.debug /usr/lib/libssl.a /usr/lib/libssl.so.111 /usr/lib/libssl_p.a /usr/lib32/libssl.a /usr/lib32/libssl.so.111 /usr/lib32/libssl_p.a /usr/src/crypto/openssl/ssl/t1_lib.c /usr/src/sys/conf/newvers.sh /usr/src/sys/netpfil/ipfw/ip_fw2.c /usr/src/usr.bin/quota/quota.c # freebsd-update install Installing updates...ef_read_entry failed <-- It's OK because CPU is not intel. done. # dmesg | grep CPU: CPU: AMD Turion(tm) II Neo N54L Dual-Core Processor (2196.38-MHz K8-class CPU) # reboot % uname -a FreeBSD onion.ish.org 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 GENERIC amd64 % su # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 12.1-RELEASE from update2.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. No updates needed to update system to 12.1-RELEASE-p4. onion# uname -a FreeBSD onion.ish.org 12.1-RELEASE-p3 FreeBSD 12.1-RELEASE-p3 GENERIC amd64 -- Masachika ISHIZUKA
On 2020-04-21 18:55, FreeBSD Security Advisories wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > ============================================================================> FreeBSD-SA-20:11.openssl Security Advisory > The FreeBSD Project > > Topic: OpenSSL remote denial of service vulnerability > > Category: contrib > Module: openssl > Announced: 2020-04-21 > Credits: Bernd Edlinger > Affects: FreeBSD 12.1 > Corrected: 2020-04-21 15:47:58 UTC (stable/12, 12.1-STABLE) > 2020-04-21 15:53:08 UTC (releng/12.1, 12.1-RELEASE-p4) > CVE Name: CVE-2020-1967VuXML entry indicated 11.3 as vulnerable even if original SA has Affected: 12.1 only. https://vuxml.freebsd.org/freebsd/012809ce-83f3-11ea-92ab-00163e433440.html Can you please update VuXML entry or original SA? Kind regards Miroslav Lachman