CVE-2024-12797
概要

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.

公表日 2025年2月12日1:15
登録日 2025年2月12日4:00
最終更新日 2025年2月18日23:15
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
OpenSSL における、RFC7250 ハンドシェイクによる認証の失敗を検知できない問題 (OpenSSL Security Advisory [11th February 2025])
タイトル OpenSSL における、RFC7250 ハンドシェイクによる認証の失敗を検知できない問題 (OpenSSL Security Advisory [11th February 2025])
概要

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() を呼び出して認証の失敗を検知する実装を行っている場合は、本脆弱性の影響を回避することが可能です。

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

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

公表日 2025年2月13日0:00
登録日 2025年2月14日16:21
最終更新日 2025年10月1日14:30
影響を受けるシステム
OpenSSL Project
OpenSSL 3.2.4 より前の 3.2 系バージョン
OpenSSL 3.3.3 より前の 3.3 系バージョン
OpenSSL 3.4.1 より前の 3.4 系バージョン
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2025年02月14日]   掲載 2025年2月14日15:47
2 [2025年10月01日]
  ベンダ情報:日立 (hitachi-sec-2025-126) を追加
2025年10月1日13:21