| Summary | 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. |
|---|---|
| Publication Date | Sept. 26, 2020, 4:15 a.m. |
| Registration Date | Jan. 26, 2021, 11:53 a.m. |
| Last Update | Nov. 21, 2024, 2:05 p.m. |
| CVSS3.1 : MEDIUM | |
| スコア | 4.0 |
|---|---|
| Vector | 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 | |
| Score | 4.3 |
|---|---|
| Vector | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 中 |
| 攻撃前の認証要否(Au) | 不要 |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | 低 |
| Get all privileges. | いいえ |
| Get user privileges | いいえ |
| Get other privileges | いいえ |
| User operation required | いいえ |
| Configuration1 | or higher | or less | more than | less than | |
| 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 | |||
| Title | TensorFlow Lite における制限またはスロットリング無しのリソースの割り当てに関する脆弱性 |
|---|---|
| Summary | TensorFlow Lite には、制限またはスロットリング無しのリソースの割り当てに関する脆弱性、およびバッファエラーの脆弱性が存在します。 |
| Possible impacts | サービス運用妨害 (DoS) 状態にされる可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | Sept. 19, 2020, midnight |
| Registration Date | April 14, 2021, 12:11 p.m. |
| Last Update | April 14, 2021, 12:11 p.m. |
| Google TensorFlow Lite 2.2.1 未満 |
| Google TensorFlow Lite 2.3.1 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2021年04月14日] 掲載 |
April 14, 2021, 12:11 p.m. |