NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-12797
Summary

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.

Publication Date Feb. 12, 2025, 1:15 a.m.
Registration Date Feb. 12, 2025, 4 a.m.
Last Update Feb. 18, 2025, 11:15 p.m.
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
OpenSSL における、RFC7250 ハンドシェイクによる認証の失敗を検知できない問題 (OpenSSL Security Advisory [11th February 2025])
Title OpenSSL における、RFC7250 ハンドシェイクによる認証の失敗を検知できない問題 (OpenSSL Security Advisory [11th February 2025])
Summary

OpenSSL Project より、<a href="https://openssl-library.org/news/secadv/20250211.txt" target="blank">OpenSSL Security Advisory [11th February 2025]</a>) ("RFC7250 handshakes with unauthenticated servers don't abort as expected (CVE-2024-12797)") が公開されました。 深刻度−高 (Severity:High) 当該バージョンの OpenSSL には、RFC7250 で定義された Raw Public Key (RPK) を用いてサーバ認証を行う際に、認証の失敗をクライアント側で検知できない脆弱性が存在します (CWE-392、CVE-2024-12797)。 RPK はサーバ、クライアントともにデフォルトで無効化されているため、双方において RPK が明示的に有効化され、かつ SSL_VERIFY_PEER モードの設定によりサーバ認証が強制されている場合にのみ、本脆弱性の影響を受けます。 ただし、クライアント側で SSL_get_verify_result() を呼び出して認証の失敗を検知する実装を行っている場合は、本脆弱性の影響を回避することが可能です。

Possible impacts サーバー認証の失敗がクライアント側で検知されないことにより、中間者攻撃を受ける可能性があります。 
Solution

[アップデートする] 開発者により、本脆弱性を修正した以下バージョンがリリースされています。  * OpenSSL 3.4.1 (3.4 系ユーザー向け)  * OpenSSL 3.3.3 (3.3 系ユーザー向け)  * OpenSSL 3.2.4 (3.2 系ユーザー向け)

Publication Date Feb. 13, 2025, midnight
Registration Date Feb. 14, 2025, 4:21 p.m.
Last Update Oct. 1, 2025, 2:30 p.m.
Affected System
OpenSSL Project
OpenSSL 3.2.4 より前の 3.2 系バージョン
OpenSSL 3.3.3 より前の 3.3 系バージョン
OpenSSL 3.4.1 より前の 3.4 系バージョン
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2025年02月14日]   掲載 Feb. 14, 2025, 3:47 p.m.
2 [2025年10月01日]
  ベンダ情報:日立 (hitachi-sec-2025-126) を追加
Oct. 1, 2025, 1:21 p.m.