Moderate severityNVD Advisory· Published Nov 18, 2022· Updated Apr 22, 2025
Overflow in `ResizeNearestNeighborGrad` in Tensorflow
CVE-2022-41907
Description
TensorFlow is an open source platform for machine learning. When tf.raw_ops.ResizeNearestNeighborGrad is given a large size input, it overflows. We have patched the issue in GitHub commit 00c821af032ba9e5f5fa3fe14690c8d28a657624. 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
tensorflowPyPI | < 2.8.4 | 2.8.4 |
tensorflowPyPI | >= 2.9.0, < 2.9.3 | 2.9.3 |
tensorflowPyPI | >= 2.10.0, < 2.10.1 | 2.10.1 |
tensorflow-cpuPyPI | < 2.8.4 | 2.8.4 |
tensorflow-gpuPyPI | < 2.8.4 | 2.8.4 |
tensorflow-cpuPyPI | >= 2.9.0, < 2.9.3 | 2.9.3 |
tensorflow-gpuPyPI | >= 2.9.0, < 2.9.3 | 2.9.3 |
tensorflow-cpuPyPI | >= 2.10.0, < 2.10.1 | 2.10.1 |
tensorflow-gpuPyPI | >= 2.10.0, < 2.10.1 | 2.10.1 |
Affected products
5- osv-coords4 versions
< 2.8.4+ 3 more
- (no CPE)range: < 2.8.4
- (no CPE)range: < 2.8.4
- (no CPE)range: < 2.8.4
- (no CPE)range: < 2.8.4
- Range: >= 2.10.0, < 2.10.1
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-368v-7v32-52fxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-41907ghsaADVISORY
- github.com/tensorflow/tensorflow/blob/master/tensorflow/core/kernels/image/resize_nearest_neighbor_op.ccghsaWEB
- github.com/tensorflow/tensorflow/commit/00c821af032ba9e5f5fa3fe14690c8d28a657624ghsaWEB
- github.com/tensorflow/tensorflow/security/advisories/GHSA-368v-7v32-52fxghsaWEB
News mentions
0No linked articles in our index yet.