OpenSSL CVE-2024-12797 - What Was Patched
The OpenSSL project published a security advisory on February 11, 2025 disclosing CVE-2024-12797, a high-severity authentication flaw that affects TLS clients using Raw Public Keys (RPKs, defined in RFC 7250) to authenticate the server. The vulnerability was reported to the project by Apple Inc. on December 18, 2024 and the fix was developed by Viktor Dukhovni of the OpenSSL core team.
According to the OpenSSL advisory, clients using RFC 7250 Raw Public Keys to authenticate a server may fail to notice that the server was not authenticated, because handshakes do not abort as expected when the SSL_VERIFY_PEER verification mode is set. In effect, a TLS client that requested peer verification and received an unverifiable RPK would proceed with the handshake as if authentication had succeeded - opening the connection to a man-in-the-middle attacker who is in a position to intercept the traffic.
Affected and Fixed Versions
The flaw affects OpenSSL 3.2, 3.3, and 3.4. Patched releases are:
- OpenSSL 3.4.1 (fix for the 3.4 branch)
- OpenSSL 3.3.3 (fix for the 3.3 branch)
- OpenSSL 3.2.4 (fix for the 3.2 branch)
OpenSSL 3.0 and 3.1 are not affected because RPK support was added in 3.2. OpenSSL 1.1.1 is also not affected. The advisory also states that the FIPS modules in 3.4, 3.3, 3.2, 3.1, and 3.0 are not affected.
Real-World Exposure
Raw Public Keys are not used by typical web TLS, where servers present X.509 certificates. RPK adoption is concentrated in IoT deployments, constrained-device protocols, and a subset of newer TLS-based application protocols where the certificate-authority model adds unwanted overhead. If your applications rely solely on the standard certificate path through the SSL_VERIFY_PEER mode, the practical exposure is low, but the patched version should still be installed because OpenSSL is shared across many processes on a typical server.
If your stack explicitly enables RPK authentication - anywhere in your code, your library configuration, or in middleware that wraps OpenSSL - treat the exposure as immediate and patch first.
What to Do
Update OpenSSL via your distribution's package manager and restart every service that links against the library. On Debian and Ubuntu, run apt-get update followed by apt-get upgrade openssl libssl3. On RHEL, AlmaLinux, Rocky, and Amazon Linux, run dnf update openssl. After the package update, services that hold a long-lived OpenSSL handle in memory continue to use the old library version until they are restarted; tools such as needrestart on Debian/Ubuntu identify which services still need a restart.
For container images, rebuild base layers so the patched OpenSSL package is pulled in, then redeploy. Image scanners such as Trivy and Grype detect the affected versions automatically once their advisory feeds are refreshed.
Verify the running library with openssl version, and confirm the package metadata matches the patched release for your distribution. The OpenSSL project's security mailing list and the vulnerabilities page on openssl-library.org publish each advisory as it is released and remain the authoritative source for follow-up fixes.
Want to learn more?
Get in touch with our team to discuss how we can help your infrastructure.
Related News
One Click Can Steal Your GitHub OAuth Token
A one-click attack on github.dev could hand an attacker a GitHub OAuth token with read and write access to all your repos, including private ones. Microsoft says it is now mitigated. Here is what actually happened and how to reduce your exposure.
SecurityYour HTTP/2 Server Can Be OOM-Killed In Under A Minute: What To Do Now
A newly published exploit combines two HTTP/2 weaknesses to exhaust 32 GB of server RAM in under 20 seconds, no authentication required. nginx, Apache, IIS, and Envoy are all affected. Here is what the attack does, who is exposed, and the exact patch or config change that closes it.
SecurityWhat The New Spectra RCE Means For Multi Author WordPress Sites
Wordfence disclosed CVE-2026-7465 on May 30, 2026, a remote code execution flaw in the Spectra Gutenberg Blocks plugin (versions up to 2.19.25, fixed in 2.19.26). It needs only Contributor access, so the real exposure is sites with open registration or many low-trust authors. Who is at risk and how to close it.