| 概要 | TensorFlow is an end-to-end open source platform for machine learning. In affected versions the implementation of `tf.raw_ops.StringNGrams` is vulnerable to an integer overflow issue caused by converting a signed integer value to an unsigned one and then allocating memory based on this value. The [implementation](https://github.com/tensorflow/tensorflow/blob/8d72537c6abf5a44103b57b9c2e22c14f5f49698/tensorflow/core/kernels/string_ngrams_op.cc#L184) calls `reserve` on a `tstring` with a value that sometimes can be negative if user supplies negative `ngram_widths`. The `reserve` method calls `TF_TString_Reserve` which has an `unsigned long` argument for the size of the buffer. Hence, the implicit conversion transforms the negative value to a large integer. We have patched the issue in GitHub commit c283e542a3f422420cfdb332414543b62fc4e4a5. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range. |
|---|---|
| 公表日 | 2021年8月13日6:15 |
| 登録日 | 2021年8月13日10:00 |
| 最終更新日 | 2024年11月21日15:15 |
| CVSS3.1 : MEDIUM | |
| スコア | 5.5 |
|---|---|
| ベクター | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 攻撃元区分(AV) | ローカル |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 低 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | 高 |
| CVSS2.0 : LOW | |
| スコア | 2.1 |
|---|---|
| ベクター | AV:L/AC:L/Au:N/C:N/I:N/A:P |
| 攻撃元区分(AV) | ローカル |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃前の認証要否(Au) | 不要 |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | なし |
| 可用性への影響(A) | 低 |
| 全ての特権を取得 | いいえ |
| ユーザー権限を取得 | いいえ |
| その他の権限を取得 | いいえ |
| ユーザー操作が必要 | いいえ |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* | 2.4.0 | 2.4.3 | |||
| cpe:2.3:a:google:tensorflow:2.6.0:rc2:*:*:*:*:*:* | |||||
| cpe:2.3:a:google:tensorflow:2.6.0:rc1:*:*:*:*:*:* | |||||
| cpe:2.3:a:google:tensorflow:2.6.0:rc0:*:*:*:*:*:* | |||||
| cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* | 2.3.0 | 2.3.4 | |||
| cpe:2.3:a:google:tensorflow:2.5.0:*:*:*:*:*:*:* | |||||
| タイトル | TensorFlow における数値型間の変換の誤りに関する脆弱性 |
|---|---|
| 概要 | TensorFlow には、数値型間の変換の誤りに関する脆弱性が存在します。 |
| 想定される影響 | サービス運用妨害 (DoS) 状態にされる可能性があります。 |
| 対策 | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2021年7月28日0:00 |
| 登録日 | 2022年6月7日15:39 |
| 最終更新日 | 2022年6月7日15:39 |
| Google TensorFlow |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2022年06月07日] 掲載 |
2022年6月7日15:39 |