cve.bz

CVE-2024-12797 Missing Report of Error Condition

7.4 highEPSS 1.3%Fix available

High (7.4). EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in cryptography 44.0.1.

On this page
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.

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
1.3% (down from 1.8% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-11-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-392 Missing Report of Error Condition
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-12797 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-12797?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-12797?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-12797 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 3.4.0 before 3.4.1
OpenSSLfrom 3.3.0 before 3.3.3
OpenSSLfrom 3.2.0 before 3.2.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-79v4-65xg-pq4gPyPIcryptography>=42.0.0 <44.0.144.0.1
PYSEC-2026-1284PyPIcryptography>=42.0.0 <44.0.144.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14openssl3.4.1-1DEBIAN-CVE-2024-12797
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.2.2-6.el9_5.1RHSA-2025:1330
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.2.2-6.el9_5.1RHSA-2025:1330
Red Hatenterprise_linux:10.0openssl, openssl-libs, openssl-perl and 4 more1:3.2.2-16.el10RHBA-2025:6314
SUSELinux Enterprise Module for Basesystem 15 SP7openssl-33.2.3-150700.5.5.1SUSE-SU-2025:02042-1
openSUSETumbleweedopenssl-33.2.4-1.1openSUSE-SU-2025:14802-1
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.2.2-6.el9_5.1ALSA-2025:1330
Rocky Linux9openssl1:3.2.2-6.el9_5.1RLSA-2025:1330
Alpinev3.20, v3.21, v3.22 and 2 moreopenssl3.3.3-r0ALPINE-CVE-2024-12797
Azure Linux2cloud-hypervisor-cvm38.0.72.2-5AZL-56761
Azure Linux3openssl3.3.3-1AZL-56774
Azure Linux3openssl-fips-providerno fix listedAZL-78591
Alpaquitastreamopenssl3.3.3-r0BELL-CVE-2024-12797
BellSoft Hardened Containersstreamopenssl3.3.3-r0BELL-CVE-2024-12797

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue was introduced in the initial implementation of RPK support in OpenSSL 3.2, which was first shipped in RHEL 9.5. Earlier releases of OpenSSL provided in RHEL prior to 9.5 are not affected.

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.

rhel9/ruby-33 & ubi9/ruby-33 are not affected because RPK is not present in any form or as any function that could be called from Ruby via Red Hat supported RPMs in RHEL. For example the SSL_dane_enable or SSL_add_expected_rpk or X509_STORE_CTX_get0_rpk or X509_STORE_CTX_init_rpk (and more rpk-related) functions are not callable from Ruby.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Discovery 1 for RHEL 9discovery/discovery-server-rhel9:1.12.1-2Fixed 2025-02-13RHSA-2025:1487
Discovery 1 for RHEL 9discovery/discovery-ui-rhel9:1.12.0-2Fixed 2025-02-13RHSA-2025:1487
Red Hat Enterprise Linux 10openssl-1:3.2.2-16.el10Fixed 2025-05-13RHBA-2025:6314
Red Hat Enterprise Linux 9openssl-1:3.2.2-6.el9_5.1Fixed 2025-02-11RHSA-2025:1330
RHOL-5.9-RHEL-9openshift-logging/cluster-logging-operator-bundle:v5.9.12-13Fixed 2025-03-05RHSA-2025:1985
RHOL-5.9-RHEL-9openshift-logging/cluster-logging-rhel9-operator:v5.9.12-6Fixed 2025-03-05RHSA-2025:1985
RHOL-5.9-RHEL-9openshift-logging/eventrouter-rhel9:v0.4.0-341Fixed 2025-03-05RHSA-2025:1985
RHOL-5.9-RHEL-9openshift-logging/fluentd-rhel9:v5.9.12-3Fixed 2025-03-05RHSA-2025:1985
RHOL-5.9-RHEL-9openshift-logging/log-file-metric-exporter-rhel9:v1.1.0-322Fixed 2025-03-05RHSA-2025:1985
RHOL-5.9-RHEL-9openshift-logging/logging-loki-rhel9:v3.3.2-16Fixed 2025-03-05RHSA-2025:1985
Red Hat 3scale API Management Platform 23scale-amp2/backend-rhel8Not affected
Red Hat Enterprise Linux 10edk2Not affected
Red Hat Enterprise Linux 10flatpak-sdk-containerAffected
Red Hat Enterprise Linux 10shimNot affected
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8mingw-opensslNot affected
46 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-12797.

References

Check your stackJSON