CVE-2024-9143
概要

Issue summary: Use of the low-level GF(2^m) elliptic curve APIs with untrusted
explicit values for the field polynomial can lead to out-of-bounds memory reads
or writes.

Impact summary: Out of bound memory writes can lead to an application crash or
even a possibility of a remote code execution, however, in all the protocols
involving Elliptic Curve Cryptography that we're aware of, either only "named
curves" are supported, or, if explicit curve parameters are supported, they
specify an X9.62 encoding of binary (GF(2^m)) curves that can't represent
problematic input values. Thus the likelihood of existence of a vulnerable
application is low.

In particular, the X9.62 encoding is used for ECC keys in X.509 certificates,
so problematic inputs cannot occur in the context of processing X.509
certificates. Any problematic use-cases would have to be using an "exotic"
curve encoding.

The affected APIs include: EC_GROUP_new_curve_GF2m(), EC_GROUP_new_from_params(),
and various supporting BN_GF2m_*() functions.

Applications working with "exotic" explicit binary (GF(2^m)) curve parameters,
that make it possible to represent invalid field polynomials with a zero
constant term, via the above or similar APIs, may terminate abruptly as a
result of reading or writing outside of array bounds. Remote code execution
cannot easily be ruled out.

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

公表日 2024年10月17日2:15
登録日 2024年10月17日5:00
最終更新日 2024年11月21日18:54
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
OpenSSL における境界外書き込みの脆弱性 (OpenSSL Security Advisory [16th October 2024])
タイトル OpenSSL における境界外書き込みの脆弱性 (OpenSSL Security Advisory [16th October 2024])
概要

OpenSSL Projectより、<a href="https://openssl-library.org/news/secadv/20241016.txt"target="blank">OpenSSL Security Advisory [16th October 2024]</a> ("Low-level invalid GF(2^m) parameters lead to OOB memory access (CVE-2024-9143)") が公開されました。 深刻度 - 低 (Severity:Low) OpenSSL において、信頼できない値を用いて低レベルの GF(2^m) 楕円曲線 API を使用すると、メモリの境界外読み取りまたは書き込みが発生する問題 (CWE-787、CVE-2024-9143) が報告されています。 ただし、楕円曲線暗号を使用するプロトコルでは、いわゆる「名前付きの曲線」のみがサポートされるか、もしくは曲線パラメータを指定できる場合においても、本脆弱性を悪用できるような問題のある入力値を表現できないバイナリ曲線のエンコーディングが指定されています。そのため、本脆弱性が悪用可能となるようなアプリケーションが稼働している可能性は低いと指摘されていることに留意してください。

想定される影響 アプリケーションのクラッシュあるいはリモートコード実行が行われる可能性があります。 
対策

[アップデートする] 2024 年 10 月 18 日現在、開発者は本脆弱性の深刻度を低と評価しており、OpenSSL の git リポジトリにて修正は行われていますが、本脆弱性への対応のみを目的とした修正バージョンは提供されていません。次回のリリースで今回の修正を反映する予定とのことです。

公表日 2024年10月18日0:00
登録日 2024年10月21日17:29
最終更新日 2025年10月1日14:28
影響を受けるシステム
OpenSSL Project
OpenSSL 1.0.2zl より前の 1.0.2 系バージョン
OpenSSL 1.1.1zb より前の 1.1.1 系バージョン
OpenSSL 3.0.16 より前の 3.0.0 系バージョン
OpenSSL 3.1.8 より前の 3.1.0 系バージョン
OpenSSL 3.2.4 より前の 3.2.0 系バージョン
OpenSSL 3.3.3 より前の 3.3.0 系バージョン
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
2 [2025年02月19日]
  参考情報:JVN (JVNVU#95962757) を追加
  参考情報:ICS-CERT ADVISORY (ICSA-25-044-09) を追加
2025年2月18日18:09
3 [2025年04月14日]
  参考情報:JVN (JVNVU#90506697) を追加
  参考情報:ICS-CERT ADVISORY (ICSA-25-100-02) を追加
2025年4月17日17:17
1 [2024年10月21日]   掲載 2024年10月21日16:53
4 [2025年10月01日]
  ベンダ情報:日立 (hitachi-sec-2025-126) を追加
2025年10月1日13:19