FPE in `tf.image.generate_bounding_box_proposals`
Impact
When running on GPU, tf.image.generate_bounding_box_proposals receives a scores input that must be of rank 4 but is not checked.
import tensorflow as tf
a = tf.constant(value=[[1.0, 1.0], [1.0, 1.0], [1.0, 1.0], [1.0, 1.0]])
b = tf.constant(value=[1])
tf.image.generate_bounding_box_proposals(scores=a,bbox_deltas=a,image_info=a,anchors=a,pre_nms_topn=b)
Patches
We have patched the issue in GitHub commit cf35502463a88ca7185a99daa7031df60b3c1c98.
The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability has been reported by Pattarakrit Rattankul.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | tensorflow | < 2.8.4, >= 2.9.0, < 2.9.3, >= 2.10.0, < 2.10.1 | 2.8.4, 2.9.3, 2.10.1 |
| Python (PyPI) | tensorflow-cpu | < 2.8.4, >= 2.9.0, < 2.9.3, >= 2.10.0, < 2.10.1 | 2.8.4, 2.9.3, 2.10.1 |
| Python (PyPI) | tensorflow-gpu | < 2.8.4, >= 2.9.0, < 2.9.3, >= 2.10.0, < 2.10.1 | 2.8.4, 2.9.3, 2.10.1 |
Verweise
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-6x99-gv2v-q76v
- https://nvd.nist.gov/vuln/detail/CVE-2022-41888
- https://github.com/tensorflow/tensorflow/commit/cf35502463a88ca7185a99daa7031df60b3c1c98
- https://github.com/tensorflow/tensorflow
- https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/image/generate_box_proposals_op.cu.cc
- https://pypi.org/project/tensorflow
- https://github.com/advisories/GHSA-6x99-gv2v-q76v
- https://pypi.org/project/tensorflow-cpu
- https://pypi.org/project/tensorflow-gpu
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H- Schwäche (CWE)
CWE-20- Plattform
- Python (PyPI)
- Paket
tensorflow, tensorflow-cpu, tensorflow-gpu- Veröffentlicht
- 21.11.2022
- Aktualisiert
- 11.10.2026 14:18
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-3124 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-3288 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-6x99-gv2v-q76v - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-962 - PyPA Advisory Database; CC BY 4.0
Schwachstellenhistorie: tensorflow-cpu
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 430
- Erste → letzte
- 04.2019 07.2024
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 6
- Hoch 111
- Mittel 208
- Niedrig 105
Veröffentlichungen pro Jahr
- 2019: 7
- 2020: 35
- 2021: 200
- 2022: 166
- 2023: 21
- 2024: 1
- 2025: 0
- 2026: 0
-
FPE in `tf.image.generate_bounding_box_proposals` dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.