CVSS 3.1
7.4 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NHigh (7.4). EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in cryptography 44.0.1.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Ncryptography (PyPI): fixed in 44.0.1Explain 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| OpenSSL | from 3.4.0 before 3.4.1 |
| OpenSSL | from 3.3.0 before 3.3.3 |
| OpenSSL | from 3.2.0 before 3.2.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-79v4-65xg-pq4g | PyPI | cryptography | >=42.0.0 <44.0.1 | 44.0.1 |
| PYSEC-2026-1284 | PyPI | cryptography | >=42.0.0 <44.0.1 | 44.0.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 13, 14 | openssl | 3.4.1-1 | DEBIAN-CVE-2024-12797 |
| Red Hat | enterprise_linux:9::appstream | openssl-perl, openssl-devel, openssl-debuginfo and 2 more | 1:3.2.2-6.el9_5.1 | RHSA-2025:1330 |
| Red Hat | enterprise_linux:9::baseos | openssl, openssl-libs, openssl-debuginfo and 2 more | 1:3.2.2-6.el9_5.1 | RHSA-2025:1330 |
| Red Hat | enterprise_linux:10.0 | openssl, openssl-libs, openssl-perl and 4 more | 1:3.2.2-16.el10 | RHBA-2025:6314 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | openssl-3 | 3.2.3-150700.5.5.1 | SUSE-SU-2025:02042-1 |
| openSUSE | Tumbleweed | openssl-3 | 3.2.4-1.1 | openSUSE-SU-2025:14802-1 |
| AlmaLinux | 9 | openssl, openssl-libs, openssl-perl and 1 more | 1:3.2.2-6.el9_5.1 | ALSA-2025:1330 |
| Rocky Linux | 9 | openssl | 1:3.2.2-6.el9_5.1 | RLSA-2025:1330 |
| Alpine | v3.20, v3.21, v3.22 and 2 more | openssl | 3.3.3-r0 | ALPINE-CVE-2024-12797 |
| Azure Linux | 2 | cloud-hypervisor-cvm | 38.0.72.2-5 | AZL-56761 |
| Azure Linux | 3 | openssl | 3.3.3-1 | AZL-56774 |
| Azure Linux | 3 | openssl-fips-provider | no fix listed | AZL-78591 |
| Alpaquita | stream | openssl | 3.3.3-r0 | BELL-CVE-2024-12797 |
| BellSoft Hardened Containers | stream | openssl | 3.3.3-r0 | BELL-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 rates this Important.
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.
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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Discovery 1 for RHEL 9 | discovery/discovery-server-rhel9:1.12.1-2 | Fixed 2025-02-13 | RHSA-2025:1487 |
| Discovery 1 for RHEL 9 | discovery/discovery-ui-rhel9:1.12.0-2 | Fixed 2025-02-13 | RHSA-2025:1487 |
| Red Hat Enterprise Linux 10 | openssl-1:3.2.2-16.el10 | Fixed 2025-05-13 | RHBA-2025:6314 |
| Red Hat Enterprise Linux 9 | openssl-1:3.2.2-6.el9_5.1 | Fixed 2025-02-11 | RHSA-2025:1330 |
| RHOL-5.9-RHEL-9 | openshift-logging/cluster-logging-operator-bundle:v5.9.12-13 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/cluster-logging-rhel9-operator:v5.9.12-6 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/eventrouter-rhel9:v0.4.0-341 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/fluentd-rhel9:v5.9.12-3 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/log-file-metric-exporter-rhel9:v1.1.0-322 | Fixed 2025-03-05 | RHSA-2025:1985 |
| RHOL-5.9-RHEL-9 | openshift-logging/logging-loki-rhel9:v3.3.2-16 | Fixed 2025-03-05 | RHSA-2025:1985 |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/backend-rhel8 | Not affected | |
| Red Hat Enterprise Linux 10 | edk2 | Not affected | |
| Red Hat Enterprise Linux 10 | flatpak-sdk-container | Affected | |
| Red Hat Enterprise Linux 10 | shim | Not affected | |
| Red Hat Enterprise Linux 6 | openssl | Not affected | |
| Red Hat Enterprise Linux 7 | openssl | Not affected | |
| Red Hat Enterprise Linux 7 | ovmf | Not affected | |
| Red Hat Enterprise Linux 8 | compat-openssl10 | Not affected | |
| Red Hat Enterprise Linux 8 | edk2 | Not affected | |
| Red Hat Enterprise Linux 8 | mingw-openssl | Not 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.