CVE-2025-4575
概要

Issue summary: Use of -addreject option with the openssl x509 application adds
a trusted use instead of a rejected use for a certificate.

Impact summary: If a user intends to make a trusted certificate rejected for
a particular use it will be instead marked as trusted for that use.

A copy & paste error during minor refactoring of the code introduced this
issue in the OpenSSL 3.5 version. If, for example, a trusted CA certificate
should be trusted only for the purpose of authenticating TLS servers but not
for CMS signature verification and the CMS signature verification is intended
to be marked as rejected with the -addreject option, the resulting CA
certificate will be trusted for CMS signature verification purpose instead.

Only users which use the trusted certificate format who use the openssl x509
command line application to add rejected uses are affected by this issue.
The issues affecting only the command line application are considered to
be Low severity.

The FIPS modules in 3.5, 3.4, 3.3, 3.2, 3.1 and 3.0 are not affected by this
issue.

OpenSSL 3.4, 3.3, 3.2, 3.1, 3.0, 1.1.1 and 1.0.2 are also not affected by this
issue.

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

JVN脆弱性情報
OpenSSL x509 アプリケーションにおける、拒否設定の代わりに信頼設定を付加してしまう問題(OpenSSL Security Advisory [22nd May 2025])
タイトル OpenSSL x509 アプリケーションにおける、拒否設定の代わりに信頼設定を付加してしまう問題(OpenSSL Security Advisory [22nd May 2025])
概要

OpenSSL Project より、<a href="https://openssl-library.org/news/secadv/20250522.txt"target="blank">OpenSSL Security Advisory [22nd May 2025]</a>("The x509 application adds trusted use instead of rejected use (CVE-2025-4575)")が公開されました。 深刻度−低(Severity:Low) openssl コマンドラインツールの x509 アプリケーションは、特定の用途における拒否の設定を証明書に付加する -addreject オプションを指定した場合に、意図とは逆に信頼する設定を付加してしまいます(CWE-295、CVE-2025-4575)。 openssl コマンドラインツールの x509 アプリケーションで当該オプションを使用するユーザーのみが、この問題の影響を受けます。

想定される影響 拒否されるべき証明書が、信頼された証明書として扱われる可能性があります。 
対策

[アップデートする] 開発者による本脆弱性公開時点では深刻度が低であるため、OpenSSL git リポジトリにて commit のみが提供されました。 その後、2025 年 7 月 1 日 (現地時間) に本脆弱性を修正した以下のバージョンがリリースされました。  * OpenSSL 3.5.1

公表日 2025年5月27日0:00
登録日 2025年5月28日11:22
最終更新日 2025年7月4日14:22
影響を受けるシステム
OpenSSL Project
OpenSSL 3.5.1 より前の 3.5 系バージョン
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2025年05月28日]   掲載 2025年5月28日10:59
2 [2025年07月04日]
  対策:内容を更新
  ベンダ情報:OpenSSL Project (Commit e96d224) を削除
  ベンダ情報:OpenSSL Project (Release OpenSSL 3.5.1) を追加
  
2025年7月4日14:16