CVE-2024-12797 Details
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.
A vulnerability exists in OpenSSL versions 3.4, 3.3, and 3.2, where clients using RFC7250 Raw Public Keys (RPKs) for server authentication may fail to detect when a server is not authenticated. This issue arises because the handshake process does not terminate as expected when the SSL_VERIFY_PEER verification mode is enabled. As a result, TLS and DTLS connections that utilize raw public keys could be susceptible to man-in-the-middle attacks, with clients not recognizing server authentication failures. This vulnerability was introduced in OpenSSL 3.2's initial RPK implementation and does not affect the FIPS modules in OpenSSL 3.4, 3.3, 3.2, 3.1, and 3.0, nor OpenSSL versions 1.1.1 and 1.0.2.
Users of OpenSSL 3.4 should upgrade to version 3.4.1, those on 3.3 should upgrade to 3.3.3, and OpenSSL 3.2 users should upgrade to 3.2.4.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 11, 2025CISA-ADP
Assessed Feb 14, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://security.netapp.com/advisory/ntap-20250214-0001/ | CVE | AdvisoryBundleRemedyVendor |
| http://www.openwall.com/lists/oss-security/2025/02/11/3 | CVE | AdvisoryMailing ListRemedy |
| http://www.openwall.com/lists/oss-security/2025/02/11/4 | CVE | Mailing ListTechnical Description |
| https://github.com/openssl/openssl/commit/738d4f9fdeaad57660dcba50a619fafced3fd5e9 | [email protected] | Source CodeVendor |
| https://github.com/openssl/openssl/commit/798779d43494549b611233f92652f0da5328fbe7 | [email protected] | Source CodeVendor |
| https://github.com/openssl/openssl/commit/87ebd203feffcf92ad5889df92f90bb0ee10a699 | [email protected] | Source CodeVendor |
| https://openssl-library.org/news/secadv/20250211.txt | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-392 | Missing Report of Error Condition | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OpenSSL | >= 3.2, < 3.2.4 >= 3.3, < 3.3.3 >= 3.4, < 3.4.1 |
CPE
Remediation
| |
| NetApp Brocade Fabric Operating System Firmware | 10.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Feb 18, 2025 | CVE Modified | CISA-ADP |
| Feb 15, 2025 | CVE Modified | CVE |
| Feb 14, 2025 | CVE Modified | CISA-ADP |
| Feb 11, 2025 | CVE Modified | CVE |
| Feb 11, 2025 | CVE Modified | CVE |
| Feb 11, 2025 | New CVE Received | [email protected] |
Volerion