Skip to content

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

HighCVSS 7.4 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
OpenSSLUbuntuDebian

Description

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.

Upgrade path

24 packages: 13 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
netapp bootstrap os All versions No fix listed No fix yet
netapp brocade fabric operating system All versions No fix listed No fix yet
netapp h300s firmware All versions No fix listed No fix yet
netapp h410c firmware All versions No fix listed No fix yet
netapp h410s firmware All versions No fix listed No fix yet
netapp h500s firmware All versions No fix listed No fix yet
netapp h610c firmware All versions No fix listed No fix yet
netapp h610s firmware All versions No fix listed No fix yet
netapp h615c firmware All versions No fix listed No fix yet
netapp h700s firmware All versions No fix listed No fix yet
netapp snapmanager All versions No fix listed No fix yet
alpine/openssl(Alpine v3.20) >= 3.3.0, < 3.3.3-r0 3.3.3-r0 Fixed
alpine/openssl(Alpine v3.21) >= 3.3.0, < 3.3.3-r0 3.3.3-r0 Fixed
alpine/openssl(Alpine v3.22) >= 3.3.0, < 3.3.3-r0 3.3.3-r0 Fixed
alpine/openssl(Alpine v3.23) >= 3.3.0, < 3.3.3-r0 3.3.3-r0 Fixed
alpine/openssl(Alpine v3.24) >= 3.3.0, < 3.3.3-r0 3.3.3-r0 Fixed
azure linux cloud-hypervisor-cvm(Azure Linux 3.0) < 38.0.72.2-3 38.0.72.2-3 Fixed
cbl-mariner cloud-hypervisor-cvm(CBL-Mariner 2.0) < 38.0.72.2-5 38.0.72.2-5 Fixed
debian/openssl(Debian 13) < 3.4.1-1 3.4.1-1 Fixed
debian/openssl(Debian 14) < 3.4.1-1 3.4.1-1 Fixed
OpenSSL >= 3.2.0, < 3.2.4; >= 3.3.0, < 3.3.3; >= 3.4.0, < 3.4.1 3.2.4, 3.3.3, 3.4.1 Fixed
OpenSSL(Azure Linux 3.0) < 3.3.3-1 3.3.3-1 Fixed
pypi cryptography(PyPI) = 42.0.0; = 42.0.1; = 42.0.2; = 42.0.3 +10 more 44.0.1 Fixed
ubuntu/openssl(Ubuntu 25.04) < 3.4.1-1ubuntu1; = 3.3.1-2ubuntu2; = 3.4.0-1ubuntu2 3.4.1-1ubuntu1 Fixed

Affected products

ProductAffected versionsFixed in
pypi cryptography(PyPI) >= 42.0.0, < 44.0.1 44.0.1
pypi cryptography(PyPI) = 42.0.0 No fix listed
pypi cryptography(PyPI) = 42.0.1 No fix listed
pypi cryptography(PyPI) = 42.0.2 No fix listed
pypi cryptography(PyPI) = 42.0.3 No fix listed
pypi cryptography(PyPI) = 42.0.4 No fix listed
pypi cryptography(PyPI) = 42.0.5 No fix listed
pypi cryptography(PyPI) = 42.0.6 No fix listed
pypi cryptography(PyPI) = 42.0.7 No fix listed
pypi cryptography(PyPI) = 42.0.8 No fix listed
pypi cryptography(PyPI) = 43.0.0 No fix listed
pypi cryptography(PyPI) = 43.0.1 No fix listed
pypi cryptography(PyPI) = 43.0.3 No fix listed
pypi cryptography(PyPI) = 44.0.0 No fix listed
OpenSSL(Azure Linux:3.0) < 3.3.3-1 3.3.3-1
azure linux cloud-hypervisor-cvm(Azure Linux:3.0) < 38.0.72.2-3 38.0.72.2-3
cbl-mariner cloud-hypervisor-cvm(CBL-Mariner:2.0) < 38.0.72.2-5 38.0.72.2-5
debian/openssl(Debian:13) < 3.4.1-1 3.4.1-1
debian/openssl(Debian:14) < 3.4.1-1 3.4.1-1
OpenSSL >= 3.4.0, < 3.4.1 3.4.1
OpenSSL >= 3.3.0, < 3.3.3 3.3.3
OpenSSL >= 3.2.0, < 3.2.4 3.2.4
netapp snapmanager All versions No fix listed
netapp brocade fabric operating system All versions No fix listed
netapp h300s firmware All versions No fix listed
Show 16 more
ProductAffected versionsFixed in
netapp h500s firmware All versions No fix listed
netapp h700s firmware All versions No fix listed
netapp h410s firmware All versions No fix listed
netapp h410c firmware All versions No fix listed
netapp h610c firmware All versions No fix listed
netapp h610s firmware All versions No fix listed
netapp h615c firmware All versions No fix listed
netapp bootstrap os All versions No fix listed
alpine/openssl(Alpine:v3.20) >= 3.3.0, < 3.3.3-r0 3.3.3-r0
alpine/openssl(Alpine:v3.21) >= 3.3.0, < 3.3.3-r0 3.3.3-r0
alpine/openssl(Alpine:v3.22) >= 3.3.0, < 3.3.3-r0 3.3.3-r0
alpine/openssl(Alpine:v3.23) >= 3.3.0, < 3.3.3-r0 3.3.3-r0
alpine/openssl(Alpine:v3.24) >= 3.3.0, < 3.3.3-r0 3.3.3-r0
ubuntu/openssl(Ubuntu:25.04) < 3.4.1-1ubuntu1 3.4.1-1ubuntu1
ubuntu/openssl(Ubuntu:25.04) = 3.3.1-2ubuntu2 No fix listed
ubuntu/openssl(Ubuntu:25.04) = 3.4.0-1ubuntu2 No fix listed

References