Skip to content
OpenAdvisories
High · 7.4 CVE-2024-12797 EUVD-2024-51115GHSA-79v4-65xg-pq4gPYSEC-2026-1284

RFC7250 handshakes with unauthenticated servers don't abort as expected

Published Feb 11, 2025 · Updated Nov 6, 2026 · Assigned by openssl

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.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 3.4.0 – < 3.4.1, 3.3.0 – < 3.3.3, 3.2.0 – < 3.2.4 3.4.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 3.4.1-1 —
Debian 13 openssl 3.4.1-1 —
ReleasePackageFixed inAdvisory
RHEL 10 openssl +3 1:3.2.2-16.el10 RHBA-2025:6314
RHEL 9 openssl +3 1:3.2.2-6.el9_5.1 RHSA-2025:1330

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 openssl +3 1:3.2.2-6.el9_5.1 ALSA-2025:1330

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 openssl 1:3.2.2-6.el9_5.1 RLSA-2025:1330
ReleasePackageFixed inAdvisory
SLES 15 SP7 openssl-3 3.2.3-150700.5.5.1 SUSE-SU-2025:02042-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-3 3.2.4-1.1 openSUSE-SU-2025:14802-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssl 3.3.3-r0 —
Alpine v3.23 openssl 3.3.3-r0 —
Alpine v3.22 openssl 3.3.3-r0 —
Alpine v3.21 openssl 3.3.3-r0 —
Alpine v3.20 openssl 3.3.3-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 openssl 3.3.3-1 —
Azure Linux 3 openssl-fips-provider No fix yet —
Azure Linux 2 (CBL-Mariner) cloud-hypervisor-cvm 38.0.72.2-5 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 openssl +3 1:3.2.2-6.0.1.el9_5.1 ELSA-2025-1330

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow 2.10.5-r1 —
Wolfi rolling az +1 2.69.0-r1 —
Wolfi rolling ggshield 1.37.0-r0 —
Wolfi rolling gitlab-cng-18.2 No fix yet —
Wolfi rolling kserve +9 0.14.1-r3 —
Wolfi rolling kubeflow-pipelines +11 2.4.0-r4 —
Wolfi rolling kubeflow-pipelines-visualization-server 2.4.0-r1 —
Wolfi rolling openssl 3.4.1-r0 —
Wolfi rolling patroni 4.0.5-r0 —
Wolfi rolling py3-cassandra-medusa +1 0.23.0-r2 —
Wolfi rolling py3-cryptography 44.0.1-r0 —
Wolfi rolling reflex 0.7.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI cryptography >= 42.0.0, < 44.0.1 44.0.1 GHSA-79v4-65xg-pq4g

Advisories 14

References