CVE-2020-15213
概要

In TensorFlow Lite before versions 2.2.1 and 2.3.1, models using segment sum can trigger a denial of service by causing an out of memory allocation in the implementation of segment sum. Since code uses the last element of the tensor holding them to determine the dimensionality of output tensor, attackers can use a very large value to trigger a large allocation. The issue is patched in commit 204945b19e44b57906c9344c0d00120eeeae178a and is released in TensorFlow versions 2.2.1, or 2.3.1. A potential workaround would be to add a custom `Verifier` to limit the maximum value in the segment ids tensor. This only handles the case when the segment ids are stored statically in the model, but a similar validation could be done if the segment ids are generated at runtime, between inference steps. However, if the segment ids are generated as outputs of a tensor during inference steps, then there are no possible workaround and users are advised to upgrade to patched code.

公表日 2020年9月26日4:15
登録日 2021年1月26日11:53
最終更新日 2024年11月21日14:05
CVSS3.1 : MEDIUM
スコア 4.0
ベクター CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:L
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更あり
機密性への影響(C) なし
完全性への影響(I) なし
可用性への影響(A)
CVSS2.0 : MEDIUM
スコア 4.3
ベクター AV:N/AC:M/Au:N/C:N/I:N/A:P
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C) なし
完全性への影響(I) なし
可用性への影響(A)
全ての特権を取得 いいえ
ユーザー権限を取得 いいえ
その他の権限を取得 いいえ
ユーザー操作が必要 いいえ
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* 2.2.0 2.2.1
cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* 2.3.0 2.3.1
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
TensorFlow Lite における制限またはスロットリング無しのリソースの割り当てに関する脆弱性
タイトル TensorFlow Lite における制限またはスロットリング無しのリソースの割り当てに関する脆弱性
概要

TensorFlow Lite には、制限またはスロットリング無しのリソースの割り当てに関する脆弱性、およびバッファエラーの脆弱性が存在します。

想定される影響 サービス運用妨害 (DoS) 状態にされる可能性があります。
対策

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2020年9月19日0:00
登録日 2021年4月14日12:11
最終更新日 2021年4月14日12:11
影響を受けるシステム
Google
Google TensorFlow Lite 2.2.1 未満
Google TensorFlow Lite 2.3.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2021年04月14日]
  掲載
2021年4月14日12:11