BSDSec

deadsimple BSD Security Advisories and Announcements

FreeBSD Errata Notice FreeBSD-EN-25:08.caroot

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

=============================================================================
FreeBSD-EN-25:08.caroot                                         Errata Notice
                                                          The FreeBSD Project

Topic:          Root certificate bundle update

Category:       core
Module:         caroot
Announced:      2025-04-10
Credits:        michaelo@FreeBSD.org
Affects:        All supported versions of FreeBSD.
Corrected:      2025-03-20 10:18:27 UTC (stable/14, 14.2-STABLE)
                2025-04-10 14:57:44 UTC (releng/14.2, 14.2-RELEASE-p3)
                2025-03-20 11:32:44 UTC (stable/13, 13.5-STABLE)
                2025-04-10 14:59:03 UTC (releng/13.5, 13.5-RELEASE-p1)
                2025-04-10 14:59:38 UTC (releng/13.4, 13.4-RELEASE-p5)

For general information regarding FreeBSD Errata Notices and Security
Advisories, including descriptions of the fields above, security
branches, and the following sections, please visit
<URL:https://security.FreeBSD.org/>.

I.   Background

The root certificate bundle is the trust store that is used by OpenSSL
programs and libraries to aid in determining whether it should trust a given
TLS certificate.

II.  Problem Description

Several certificates were added to the bundle after the latest release of
FreeBSD 13.4, 13.5, and 14.2.

III. Impact

TLS connections using the missing root certificates as a trust anchor would
not be trusted causing an error.

IV.  Workaround

No workaround is available. Software that uses an internal trust store is not
affected.

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 or arm64 platforms,
or the i386 platform on FreeBSD 13, can be updated via the freebsd-update(8)
utility:

# freebsd-update fetch
# freebsd-update install

Users of FreeBSD Update should ensure that freebsd-update(8) is allowed to
create and delete files.  This is allowed by default.

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.

[FreeBSD 14.2]
# fetch https://security.FreeBSD.org/patches/EN-25:08/caroot-14.2.patch
# fetch https://security.FreeBSD.org/patches/EN-25:08/caroot-14.2.patch.asc
# gpg --verify caroot-14.2.patch.asc

[FreeBSD 13.5]
# fetch https://security.FreeBSD.org/patches/EN-25:08/caroot-13.5.patch
# fetch https://security.FreeBSD.org/patches/EN-25:08/caroot-13.5.patch.asc
# gpg --verify caroot-13.5.patch.asc

[FreeBSD 13.4]
# fetch https://security.FreeBSD.org/patches/EN-25:08/caroot-13.4.patch
# fetch https://security.FreeBSD.org/patches/EN-25:08/caroot-13.4.patch.asc
# gpg --verify caroot-13.4.patch.asc

b) Apply the patch.  Execute the following commands as root:

# cd /usr/src
# patch -E < /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 OpenSSL, or reboot the system.

VI.  Correction details

This issue is corrected as of the corresponding Git commit hash in the
following stable and release branches:

Branch/path                             Hash                     Revision
- -------------------------------------------------------------------------
stable/14/                              7577dae4d672    stable/14-n270816
releng/14.2/                            23d06bb83d0a  releng/14.2-n269523
stable/13/                              f89c056e1184    stable/13-n259216
releng/13.5/                            74176002ff9f  releng/13.5-n259165
releng/13.4/                            e8e9cb97d094  releng/13.4-n258283
- -------------------------------------------------------------------------

Run the following command to see which files were modified by a
particular commit:

# git show --stat <commit hash>

Or visit the following URL, replacing NNNNNN with the hash:

<URL:https://cgit.freebsd.org/src/commit/?id=NNNNNN>

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

<URL:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id(5546>

The latest revision of this advisory is available at
<URL:https://security.FreeBSD.org/advisories/FreeBSD-EN-25:08.caroot.asc>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEthUnfoEIffdcgYM7bljekB8AGu8FAmf38DwACgkQbljekB8A
Gu+y3BAAqgGHlCNdHu/XmCADpI+yNT30mBCN+eOQ7B5R5Ao9E65b2MdveoOScARA
wmleXASx7clmCJwUITlEC0H57omcEYk5y0o7//NalbaFNI5c3SA6TWSca3BaHoo+
TkgRvu0vrAdT2nrqmpBPEQR1uVUyEa2bLuTSe+PwN00kIs70RSzHapAhUtfDA3ZV
PDimqQZSnAEvC6hWyrpZfWPXiKnFoUr+reS+zcBpslFy8CN0ybj2g5PmC38hxj16
GTk5HFYrK8hi1iCw+nvu+s4A7BU58CxIu1Z4ieOUC8GpJj7TAA92Q+Jn8642gvkm
n9mZJiAcjq+OYfTE199xuV5XhF+dOv6maRm4dX8m1+B5SCYhpoM47fY55xnWJcOY
j/sK6JKpJypiMd5cyuzXTs1RiI6zujkwCTNRfh7FvR0WeywdBzMRYB8TFZs7pg+/
ZCNoyookgMHEEVBoei+FGmAE0nSErqQTvIHhvIAL57xQ1sh5ArrrPnus5Se3xGhU
xwSMVFyVtnww79zI26czK6Fup3DaxStozw2D2As3f2PYAoXstjfL/JIWIZSJflno
oYj9noXzWNo7s6hG3NAUKllvq3Mb5m4eIZHQrLRWHY39Wij+6hyKj9kshLwQ6Lg9
eDE8LLSbSNqgTuy9BfoS4OXIpYQl4aYLovqultTEjTe0iu2XKdc=JUPU
-----END PGP SIGNATURE-----