{"id":"CVE-2024-12797","published":"2025-02-11T15:59:36Z","modified":"2026-11-06T21:37:19Z","title":"RFC7250 handshakes with unauthenticated servers don't abort as expected","vendor":"OpenSSL","product":"OpenSSL","tier":"tail","description":{"text":"Issue summary: Clients using RFC7250 Raw Public Keys (RPKs) to authenticate a\nserver may fail to notice that the server was not authenticated, because\nhandshakes don't abort as expected when the SSL_VERIFY_PEER verification mode\nis set.\n\nImpact summary: TLS and DTLS connections using raw public keys may be\nvulnerable to man-in-middle attacks when server authentication failure is not\ndetected by clients.\n\nRPKs are disabled by default in both TLS clients and TLS servers.  The issue\nonly arises when TLS clients explicitly enable RPK use by the server, and the\nserver, likewise, enables sending of an RPK instead of an X.509 certificate\nchain.  The affected clients are those that then rely on the handshake to\nfail when the server's RPK fails to match one of the expected public keys,\nby setting the verification mode to SSL_VERIFY_PEER.\n\nClients that enable server-side raw public keys can still find out that raw\npublic key verification failed by calling SSL_get_verify_result(), and those\nthat do, and take appropriate action, are not affected.  This issue was\nintroduced in the initial implementation of RPK support in OpenSSL 3.2.\n\nThe FIPS modules in 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01308,"percentile":0.7065,"provenance":"source"},"cwes":[{"id":"CWE-392","name":"Missing Report of Error Condition"}],"references":[{"url":"https://openssl-library.org/news/secadv/20250211.txt","tags":["vendor-advisory"]},{"url":"https://github.com/openssl/openssl/commit/738d4f9fdeaad57660dcba50a619fafced3fd5e9","tags":["patch"]},{"url":"https://github.com/openssl/openssl/commit/87ebd203feffcf92ad5889df92f90bb0ee10a699","tags":["patch"]},{"url":"https://github.com/openssl/openssl/commit/798779d43494549b611233f92652f0da5328fbe7","tags":["patch"]},{"url":"http://www.openwall.com/lists/oss-security/2025/02/11/3","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/02/11/4","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20250214-0001/","tags":[]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":14.13},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"openssl","affectedVersions":[{"vendor":"OpenSSL","product":"OpenSSL","versions":[">= 3.4.0, < 3.4.1",">= 3.3.0, < 3.3.3",">= 3.2.0, < 3.2.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-06T21:37:16.928580Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"cryptography","vulnerableRanges":[">=42.0.0, <44.0.1"],"patched":["44.0.1"],"from":["GHSA-79v4-65xg-pq4g","PYSEC-2026-1284"],"provenance":"source"}],"summary":{"text":"OpenSSL's handling of RFC7250 Raw Public Keys in TLS and DTLS fails to abort handshakes when a server's raw public key does not match an expected key, even with SSL_VERIFY_PEER set, so clients may not detect that server authentication failed. An attacker positioned on the network path can perform a man-in-the-middle attack, but only if the client has explicitly enabled RPK use and the server sends a raw public key instead of an X.509 chain, and the client does not check SSL_get_verify_result() after the handshake.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:09:47Z"},"euvd":{"id":"EUVD-2024-51115","exploited":false,"provenance":"source"}}