OpenSSL Security Advisory

Tomas Mraz <[email protected]>
Newsgroups gmane.comp.encryption.openssl.project,gmane.comp.encryption.openssl.user
Message-ID <[email protected]>
OpenSSL Security Advisory [11th February 2025]
==============================================

RFC7250 handshakes with unauthenticated servers don't abort as expected (CVE-2024-12797)
========================================================================================

Severity: High

Issue summary: Clients using RFC7250 Raw Public Keys (RPKs) to authenticate a
server may fail to notice that the server was not authenticated, because
handshakes don't abort as expected when the SSL_VERIFY_PEER verification mode
is set.

Impact summary: TLS and DTLS connections using raw public keys may be
vulnerable to man-in-middle attacks when server authentication failure is not
detected by clients.

RPKs are disabled by default in both TLS clients and TLS servers.  The issue
only arises when TLS clients explicitly enable RPK use by the server, and the
server, likewise, enables sending of an RPK instead of an X.509 certificate
chain.  The affected clients are those that then rely on the handshake to
fail when the server's RPK fails to match one of the expected public keys,
by setting the verification mode to SSL_VERIFY_PEER.

Clients that enable server-side raw public keys can still find out that raw
public key verification failed by calling SSL_get_verify_result(), and those
that do, and take appropriate action, are not affected.  This issue was
introduced in the initial implementation of RPK support in OpenSSL 3.2.

The FIPS modules in 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.
OpenSSL 3.1, 3.0, 1.1.1 and 1.0.2 are also not affected by this issue.

OpenSSL 3.4, 3.3 and 3.2 are vulnerable to this issue.

OpenSSL 3.4 users should upgrade to OpenSSL 3.4.1.

OpenSSL 3.3 users should upgrade to OpenSSL 3.3.2.

OpenSSL 3.2 users should upgrade to OpenSSL 3.2.4.

This issue was reported on 18th December 2024 by Apple Inc.
The fix was developed by Viktor Dukhovni.

General Advisory Notes
======================

URL for this Security Advisory:
https://openssl-library.org/news/secadv/20250211.txt

Note: the online version of the advisory may be updated with additional details
over time.

For details of OpenSSL severity classifications please see:
https://openssl-library.org/policies/general/security-policy/

-- 
You received this message because you are subscribed to the Google Groups "openssl-project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-project/18fae49c1241f55eb41cf19017b8c0f6e8cf65af.camel%40openssl.org.
signature.asc (application/pgp-signature, 858 B)
-----BEGIN PGP SIGNATURE-----

iQJGBAABCAAwFiEE3HAyZir4heL0fyQ/UnRmohynnm0FAmercrUSHHRvbWFzQG9w
ZW5zc2wub3JnAAoJEFJ0ZqIcp55tCwQP/RHFf9IDTLtfau4ZU6rLF0BlJ/bzH747
pFnAtO6n877Rvl+GYXDVD7QWLcmOzU9kouE7TQON9ThVOYf+z/KQzoKasC9DDhXz
sjoumbj+PbPQiswME96iRbJZ8qFTi0uNsBfZ52vf+CKsMRufD9ggSOjRuPK8BwXg
pMi6OMbFVTbjyHepXi53pWtltlkSAXUxZo7zHL8kLIqEOrcqBswyIzbm1JruiX6i
Rda9fXO4feAulUQ6We8AnJovygBkO9GXJo5w9/ECncU+G+lbOHnzCIdapz30hT0T
GQ7AlaR+SqPk+nGM8RgAPwqQ86ooY4JbfI0Mu/K3bFe4YBQUJXlx+q5DW0R+997x
TgrQMdArOvOpI/7N1+Qo1qBdkRL59z7pCgAymoZ5nNq/7G77l/Far0QQcza9l8qs
8Z1o7w6pCALWBsEQxDCDg3kHTnuUYta2vsjJsOvicpddsIn3VEa8tlcsDPyGVkjD
+XPTx6Ckht86m5Rulk2x4LRZqwK2LHYkEBVRQAstXLGgcPhUHVzXeHSw4WqxntT+
NohsUwQHnMmZU3OxvWu2sp8+6qx9WpvrNIG2mULGVZbCsO+zAWufBIiA0Q7PrUI0
qoWb6DPOF1hrgYPS1NF90poiT1WrjFP8ZHai+815+MvD/k6Xdgls5ytKcW65/KOZ
ZQovaGvhpuWF
=OQBf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.