History log of /freebsd-current/crypto/openssl/ssl/ssl_err.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 44096ebd 26-Jun-2024 Enji Cooper <ngie@FreeBSD.org>

Update to OpenSSL 3.0.14

This release resolves 3 upstream found CVEs:
- Fixed potential use after free after SSL_free_buffers() is called (CVE-2024-4741)
- Fixed an issue where checking excessively long DSA keys or parameters may be very slow (CVE-2024-4603)
- Fixed unbounded memory growth with session handling in TLSv1.3 (CVE-2024-2511)

MFC after: 3 days
Merge commit '1070e7dca8223387baf5155524b28f62bfe7da3c'


# b077aed3 23-Jun-2023 Pierre Pronchery <pierre@freebsdfoundation.org>

Merge OpenSSL 3.0.9

Migrate to OpenSSL 3.0 in advance of FreeBSD 14.0. OpenSSL 1.1.1 (the
version we were previously using) will be EOL as of 2023-09-11.

Most of the base system has already been updated for a seamless switch
to OpenSSL 3.0. For many components we've added
`-DOPENSSL_API_COMPAT=0x10100000L` to CFLAGS to specify the API version,
which avoids deprecation warnings from OpenSSL 3.0. Changes have also
been made to avoid OpenSSL APIs that were already deprecated in OpenSSL
1.1.1. The process of updating to contemporary APIs can continue after
this merge.

Additional changes are still required for libarchive and Kerberos-
related libraries or tools; workarounds will immediately follow this
commit. Fixes are in progress in the upstream projects and will be
incorporated when those are next updated.

There are some performance regressions in benchmarks (certain tests in
`openssl speed`) and in some OpenSSL consumers in ports (e.g. haproxy).
Investigation will continue for these.

Netflix's testing showed no functional regression and a rather small,
albeit statistically significant, increase in CPU consumption with
OpenSSL 3.0.

Thanks to ngie@ and des@ for updating base system components, to
antoine@ and bofh@ for ports exp-runs and port fixes/workarounds, and to
Netflix and everyone who tested prior to commit or contributed to this
update in other ways.

PR: 271615
PR: 271656 [exp-run]
Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# 9a3ae0cd 31-Aug-2021 Jung-uk Kim <jkim@FreeBSD.org>

Import OpenSSL 1.1.1l

# aa906e2a 15-Jan-2021 John Baldwin <jhb@FreeBSD.org>

OpenSSL: Support for kernel TLS offload (KTLS)

This merges upstream patches from OpenSSL's master branch to add
KTLS infrastructure for TLS 1.0-1.3 including both RX and TX
offload and SSL_sendfile support on both Linux and FreeBSD.

Note that TLS 1.3 only supports TX offload.

A new WITH/WITHOUT_OPENSSL_KTLS determines if OpenSSL is built with
KTLS support. It defaults to enabled on amd64 and disabled on all
other architectures.

Reviewed by: jkim (earlier version)
Approved by: secteam
Obtained from: OpenSSL (patches from master)
MFC after: 1 week
Relnotes: yes
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D28273

# 11c7efe3 31-Mar-2020 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1f.


# 17f01e99 17-Mar-2020 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1e.


# 6935a639 26-Feb-2019 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1b.


# e71b7053 13-Sep-2018 Jung-uk Kim <jkim@FreeBSD.org>

Update OpenSSL to 1.1.1.

Note it does not update build infrastructure.


# 6cf8931a 26-Jan-2017 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2k.


# aeb5019c 22-Sep-2016 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2i.


# 4c6a0400 01-Mar-2016 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2g.

Relnotes: yes


# 8180e704 28-Jan-2016 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2f.

Relnotes: yes


# 80815a77 03-Dec-2015 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2e.


# 7bded2db 30-Oct-2015 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2d.


# ed6b93be 11-Jun-2015 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1n.


# 6f9291ce 20-Mar-2015 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1m.


# fa5fddf1 15-Oct-2014 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1j.


# a93cbc2b 07-Aug-2014 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1i.


# 94ad176c 08-Jun-2014 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1h.

Approved by: so (delphij)


# 09286989 13-Feb-2013 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1e.

Approved by: secteam (simon), benl (silence)


# 1f13597d 12-Jul-2012 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1c.

Approved by: benl (maintainer)


# 12de4ed2 27-Jun-2012 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 0.9.8x.

Reviewed by: stas
Approved by: benl (maintainer)
MFC after: 3 days


# a95abaf1 03-May-2012 Bjoern A. Zeeb <bz@FreeBSD.org>

Fix multiple OpenSSL vulnerabilities.

Security: CVE-2011-4576, CVE-2011-4619, CVE-2011-4109
Security: CVE-2012-0884, CVE-2012-2110
Security: FreeBSD-SA-12:01.openssl
Approved by: so (bz,simon)

# 6a599222 13-Mar-2010 Simon L. B. Nielsen <simon@FreeBSD.org>

Merge OpenSSL 0.9.8m into head.

This also "reverts" some FreeBSD local changes so we should now
be back to using entirely stock OpenSSL. The local changes were
simple $FreeBSD$ lines additions, which were required in the CVS
days, and the patch for FreeBSD-SA-09:15.ssl which has been
superseded with OpenSSL 0.9.8m's RFC5746 'TLS renegotiation
extension' support.

MFC after: 3 weeks


# db522d3a 14-Jun-2009 Simon L. B. Nielsen <simon@FreeBSD.org>

Merge OpenSSL 0.9.8k into head.

Approved by: re


# c4a78426 23-Aug-2008 Simon L. B. Nielsen <simon@FreeBSD.org>

Flatten OpenSSL vendor tree.

# a0ddfe4e 18-Oct-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Import DTLS security fix from upstream OpenSSL_0_9_8-stable branch.

From the OpenSSL advisory:

Andy Polyakov discovered a flaw in OpenSSL's DTLS
implementation which could lead to the compromise of clients
and servers with DTLS enabled.

DTLS is a datagram variant of TLS specified in RFC 4347 first
supported in OpenSSL version 0.9.8. Note that the
vulnerabilities do not affect SSL and TLS so only clients and
servers explicitly using DTLS are affected.

We believe this flaw will permit remote code execution.

Security: CVE-2007-4995
Security: http://www.openssl.org/news/secadv_20071012.txt

# 5471f83e 15-Mar-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8e.

# 3b4e3dcb 29-Jul-2006 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8b

# 5c87c606 28-Jan-2003 Mark Murray <markm@FreeBSD.org>

Vendor import of OpenSSL release 0.9.7. This release includes
support for AES and OpenBSD's hardware crypto.

# 48454956 09-Aug-2002 Jacques Vidrine <nectar@FreeBSD.org>

Import of OpenSSL 0.9.6f.

# 4f20a5a2 30-Jul-2002 Jacques Vidrine <nectar@FreeBSD.org>

Import of OpenSSL 0.9.6e.

# a21b1b38 26-Jan-2002 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6c

# 5740a5e3 19-May-2001 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6a

# de7cddda 17-Feb-2001 Kris Kennaway <kris@FreeBSD.org>

Import of OpenSSL 0.9.6-STABLE snapshot dated 2001-02-10

# ddd58736 12-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6

# f579bf8e 13-Apr-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.5a

# 74664626 09-Jan-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.4, sans IDEA and RSA code for patent
infringement reasons.

# b077aed3 23-Jun-2023 Pierre Pronchery <pierre@freebsdfoundation.org>

Merge OpenSSL 3.0.9

Migrate to OpenSSL 3.0 in advance of FreeBSD 14.0. OpenSSL 1.1.1 (the
version we were previously using) will be EOL as of 2023-09-11.

Most of the base system has already been updated for a seamless switch
to OpenSSL 3.0. For many components we've added
`-DOPENSSL_API_COMPAT=0x10100000L` to CFLAGS to specify the API version,
which avoids deprecation warnings from OpenSSL 3.0. Changes have also
been made to avoid OpenSSL APIs that were already deprecated in OpenSSL
1.1.1. The process of updating to contemporary APIs can continue after
this merge.

Additional changes are still required for libarchive and Kerberos-
related libraries or tools; workarounds will immediately follow this
commit. Fixes are in progress in the upstream projects and will be
incorporated when those are next updated.

There are some performance regressions in benchmarks (certain tests in
`openssl speed`) and in some OpenSSL consumers in ports (e.g. haproxy).
Investigation will continue for these.

Netflix's testing showed no functional regression and a rather small,
albeit statistically significant, increase in CPU consumption with
OpenSSL 3.0.

Thanks to ngie@ and des@ for updating base system components, to
antoine@ and bofh@ for ports exp-runs and port fixes/workarounds, and to
Netflix and everyone who tested prior to commit or contributed to this
update in other ways.

PR: 271615
PR: 271656 [exp-run]
Relnotes: Yes
Sponsored by: The FreeBSD Foundation


# 9a3ae0cd 31-Aug-2021 Jung-uk Kim <jkim@FreeBSD.org>

Import OpenSSL 1.1.1l

# aa906e2a 15-Jan-2021 John Baldwin <jhb@FreeBSD.org>

OpenSSL: Support for kernel TLS offload (KTLS)

This merges upstream patches from OpenSSL's master branch to add
KTLS infrastructure for TLS 1.0-1.3 including both RX and TX
offload and SSL_sendfile support on both Linux and FreeBSD.

Note that TLS 1.3 only supports TX offload.

A new WITH/WITHOUT_OPENSSL_KTLS determines if OpenSSL is built with
KTLS support. It defaults to enabled on amd64 and disabled on all
other architectures.

Reviewed by: jkim (earlier version)
Approved by: secteam
Obtained from: OpenSSL (patches from master)
MFC after: 1 week
Relnotes: yes
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D28273

# 11c7efe3 31-Mar-2020 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1f.


# 17f01e99 17-Mar-2020 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1e.


# 6935a639 26-Feb-2019 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.1.1b.


# e71b7053 13-Sep-2018 Jung-uk Kim <jkim@FreeBSD.org>

Update OpenSSL to 1.1.1.

Note it does not update build infrastructure.


# 6cf8931a 26-Jan-2017 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2k.


# aeb5019c 22-Sep-2016 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2i.


# 4c6a0400 01-Mar-2016 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2g.

Relnotes: yes


# 8180e704 28-Jan-2016 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2f.

Relnotes: yes


# 80815a77 03-Dec-2015 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2e.


# 7bded2db 30-Oct-2015 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.2d.


# ed6b93be 11-Jun-2015 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1n.


# 6f9291ce 20-Mar-2015 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1m.


# fa5fddf1 15-Oct-2014 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1j.


# a93cbc2b 07-Aug-2014 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1i.


# 94ad176c 08-Jun-2014 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1h.

Approved by: so (delphij)


# 09286989 13-Feb-2013 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1e.

Approved by: secteam (simon), benl (silence)


# 1f13597d 12-Jul-2012 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 1.0.1c.

Approved by: benl (maintainer)


# 12de4ed2 27-Jun-2012 Jung-uk Kim <jkim@FreeBSD.org>

Merge OpenSSL 0.9.8x.

Reviewed by: stas
Approved by: benl (maintainer)
MFC after: 3 days


# a95abaf1 03-May-2012 Bjoern A. Zeeb <bz@FreeBSD.org>

Fix multiple OpenSSL vulnerabilities.

Security: CVE-2011-4576, CVE-2011-4619, CVE-2011-4109
Security: CVE-2012-0884, CVE-2012-2110
Security: FreeBSD-SA-12:01.openssl
Approved by: so (bz,simon)

# 6a599222 13-Mar-2010 Simon L. B. Nielsen <simon@FreeBSD.org>

Merge OpenSSL 0.9.8m into head.

This also "reverts" some FreeBSD local changes so we should now
be back to using entirely stock OpenSSL. The local changes were
simple $FreeBSD$ lines additions, which were required in the CVS
days, and the patch for FreeBSD-SA-09:15.ssl which has been
superseded with OpenSSL 0.9.8m's RFC5746 'TLS renegotiation
extension' support.

MFC after: 3 weeks


# db522d3a 14-Jun-2009 Simon L. B. Nielsen <simon@FreeBSD.org>

Merge OpenSSL 0.9.8k into head.

Approved by: re


# c4a78426 23-Aug-2008 Simon L. B. Nielsen <simon@FreeBSD.org>

Flatten OpenSSL vendor tree.

# a0ddfe4e 18-Oct-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Import DTLS security fix from upstream OpenSSL_0_9_8-stable branch.

From the OpenSSL advisory:

Andy Polyakov discovered a flaw in OpenSSL's DTLS
implementation which could lead to the compromise of clients
and servers with DTLS enabled.

DTLS is a datagram variant of TLS specified in RFC 4347 first
supported in OpenSSL version 0.9.8. Note that the
vulnerabilities do not affect SSL and TLS so only clients and
servers explicitly using DTLS are affected.

We believe this flaw will permit remote code execution.

Security: CVE-2007-4995
Security: http://www.openssl.org/news/secadv_20071012.txt

# 5471f83e 15-Mar-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8e.

# 3b4e3dcb 29-Jul-2006 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8b

# 5c87c606 28-Jan-2003 Mark Murray <markm@FreeBSD.org>

Vendor import of OpenSSL release 0.9.7. This release includes
support for AES and OpenBSD's hardware crypto.

# 48454956 09-Aug-2002 Jacques Vidrine <nectar@FreeBSD.org>

Import of OpenSSL 0.9.6f.

# 4f20a5a2 30-Jul-2002 Jacques Vidrine <nectar@FreeBSD.org>

Import of OpenSSL 0.9.6e.

# a21b1b38 26-Jan-2002 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6c

# 5740a5e3 19-May-2001 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6a

# de7cddda 17-Feb-2001 Kris Kennaway <kris@FreeBSD.org>

Import of OpenSSL 0.9.6-STABLE snapshot dated 2001-02-10

# ddd58736 12-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6

# f579bf8e 13-Apr-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.5a

# 74664626 09-Jan-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.4, sans IDEA and RSA code for patent
infringement reasons.

# 9a3ae0cd 31-Aug-2021 Jung-uk Kim <jkim@FreeBSD.org>

Import OpenSSL 1.1.1l


# aa906e2a 15-Jan-2021 John Baldwin <jhb@FreeBSD.org>

OpenSSL: Support for kernel TLS offload (KTLS)

This merges upstream patches from OpenSSL's master branch to add
KTLS infrastructure for TLS 1.0-1.3 including both RX and TX
offload and SSL_sendfile support on both Linux and FreeBSD.

Note that TLS 1.3 only supports TX offload.

A new WITH/WITHOUT_OPENSSL_KTLS determines if OpenSSL is built with
KTLS support. It defaults to enabled on amd64 and disabled on all
other architectures.

Reviewed by: jkim (earlier version)
Approved by: secteam
Obtained from: OpenSSL (patches from master)
MFC after: 1 week
Relnotes: yes
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D28273


# a95abaf1 03-May-2012 Bjoern A. Zeeb <bz@FreeBSD.org>

Fix multiple OpenSSL vulnerabilities.

Security: CVE-2011-4576, CVE-2011-4619, CVE-2011-4109
Security: CVE-2012-0884, CVE-2012-2110
Security: FreeBSD-SA-12:01.openssl
Approved by: so (bz,simon)


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# ccc1eaed 22-May-2010 Simon L. B. Nielsen <simon@FreeBSD.org>

Merge OpenSSL 0.9.8n from head into stable/8.

Approved by: re (kib)


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# a0ddfe4e 18-Oct-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Import DTLS security fix from upstream OpenSSL_0_9_8-stable branch.

From the OpenSSL advisory:

Andy Polyakov discovered a flaw in OpenSSL's DTLS
implementation which could lead to the compromise of clients
and servers with DTLS enabled.

DTLS is a datagram variant of TLS specified in RFC 4347 first
supported in OpenSSL version 0.9.8. Note that the
vulnerabilities do not affect SSL and TLS so only clients and
servers explicitly using DTLS are affected.

We believe this flaw will permit remote code execution.

Security: CVE-2007-4995
Security: http://www.openssl.org/news/secadv_20071012.txt


# 5471f83e 15-Mar-2007 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8e.


# 3b4e3dcb 29-Jul-2006 Simon L. B. Nielsen <simon@FreeBSD.org>

Vendor import of OpenSSL 0.9.8b


# 5c87c606 28-Jan-2003 Mark Murray <markm@FreeBSD.org>

Vendor import of OpenSSL release 0.9.7. This release includes
support for AES and OpenBSD's hardware crypto.


# 48454956 09-Aug-2002 Jacques Vidrine <nectar@FreeBSD.org>

Import of OpenSSL 0.9.6f.


# 4f20a5a2 30-Jul-2002 Jacques Vidrine <nectar@FreeBSD.org>

Import of OpenSSL 0.9.6e.


# a21b1b38 26-Jan-2002 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6c


# 5740a5e3 19-May-2001 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6a


# de7cddda 17-Feb-2001 Kris Kennaway <kris@FreeBSD.org>

Import of OpenSSL 0.9.6-STABLE snapshot dated 2001-02-10


# ddd58736 12-Nov-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.6


# f579bf8e 13-Apr-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.5a


# 74664626 09-Jan-2000 Kris Kennaway <kris@FreeBSD.org>

Initial import of OpenSSL 0.9.4, sans IDEA and RSA code for patent
infringement reasons.