CVE-2024-12797: OpenSSL Raw Public Key Server Authentication Bypass
- Vendors
- NetAppOpenSSL Software Foundation
OpenSSL 3.2 before 3.2.4, 3.3 before 3.3.3, and 3.4 before 3.4.1 fail to abort TLS and DTLS handshakes when RFC7250 Raw Public Key (RPK) server authentication fails, despite SSL_VERIFY_PEER being enabled. Clients relying solely on handshake failure can therefore accept a server whose public key does not match an expected key, enabling man-in-the-middle attacks. The flaw was introduced with RPK support in OpenSSL 3.2. RPKs are disabled by default. Clients that check SSL_get_verify_result() and appropriately reject verification failures are not affected. OpenSSL versions predating 3.2 and the FIPS modules in versions 3.0 through 3.4 are not affected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Affected clients can establish TLS or DTLS connections without successfully authenticating the server. An attacker able to impersonate the server or intercept connections may read or modify application traffic through a man-in-the-middle attack, compromising connection confidentiality and integrity.
Mitigation
If you can’t patch tonight, do this now.
Explicitly call SSL_get_verify_result() after the handshake and reject the connection if raw public key verification failed, before exchanging application data. Alternatively, disable server RPK authentication and use properly validated X.509 certificate authentication until the fix is deployed.
Remediation
Patch, then assume compromise.
Upgrade OpenSSL 3.2 to 3.2.4 or later, OpenSSL 3.3 to 3.3.3 or later, or OpenSSL 3.4 to 3.4.1 or later. For vendor-packaged or embedded OpenSSL deployments, apply the vendor security update containing the fix and update affected application or container deployments.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-12797 exploited in the wild?
- As of Nov 20, 2026, Mallory has no reports of CVE-2024-12797 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-12797?
- As of Nov 20, 2026, Mallory has found no public exploit for CVE-2024-12797.
- Is there a patch for CVE-2024-12797?
- Upgrade OpenSSL 3.2 to 3.2.4 or later, OpenSSL 3.3 to 3.3.3 or later, or OpenSSL 3.4 to 3.4.1 or later. For vendor-packaged or embedded OpenSSL deployments, apply the vendor security update containing the fix and update affected application or container deployments.
- What products are affected by CVE-2024-12797?
- OpenSSL Software Foundation Openssl, NetApp Bootstrap Os, NetApp Brocade Fabric Operating System, NetApp H300s Firmware, NetApp H410c Firmware, and 7 more.
- How severe is CVE-2024-12797?
- CVE-2024-12797 has a CVSS v3.1 score of 7.4 (High) and an EPSS score of 1.3% (71st percentile) as of Nov 20, 2026.
Recent activity
22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.