VDB

CVE-2024-12797

CVE-2024-12797 PUBLISHED CVSS 6.3 MEDIUM

RFC7250 handshakes with unauthenticated servers don't abort as expected

Reported by openssl · Published February 11, 2025

cryptography is fixed in 44.0.1 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
cryptographyPyPI44.0.1
opensslChainguard3.4.1-r0
apache-beam-python-3.11-sdkChainguard2.63.0-r0
gitlab-cng-18.8Chainguard18.8.5-r2
ggshieldChainguard1.37.0-r0
kserveChainguard0.14.1-r3
airflowWolfi2.10.5-r1
airflow-coreChainguard2.10.5-r1
opensslWolfi3.4.1-r0
ansible-operatorChainguard1.37.1-r3
opensslAlpine3.3.3-r0
kubeflow-pipelinesWolfi2.4.0-r4

36 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
6.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
OpenSSLOpenSSL3.4.0, 3.3.0, 3.2.0
OpenSSLOpenSSL3.4.0, 3.3.0, 3.2.0

Timeline

  • Feb 11, 2025 CVE Published
  • Feb 11, 2025 Coalition ESS Score (16 in total, the first dated here)
  • Feb 11, 2025 PoC Published (31 in total, the first dated here)
  • Feb 12, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 Security Advisory (12 in total, the first dated here)
  • Nov 15, 2026 Distribution Patch (7 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-12797
vulnetix vdb fixes CVE-2024-12797

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-12797/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›