Moderate severityNVD Advisory· Published Nov 18, 2022· Updated Apr 22, 2025
`CHECK` fail via inputs in `PyFunc` in Tensorflow
CVE-2022-41908
Description
TensorFlow is an open source platform for machine learning. An input token that is not a UTF-8 bytestring will trigger a CHECK fail in tf.raw_ops.PyFunc. We have patched the issue in GitHub commit 9f03a9d3bafe902c1e6beb105b2f24172f238645. 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-mv77-9g28-cwg3ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-41908ghsaADVISORY
- github.com/tensorflow/tensorflow/blob/master/tensorflow/python/lib/core/py_func.ccghsaWEB
- github.com/tensorflow/tensorflow/commit/9f03a9d3bafe902c1e6beb105b2f24172f238645ghsaWEB
- github.com/tensorflow/tensorflow/security/advisories/GHSA-mv77-9g28-cwg3ghsaWEB
News mentions
0No linked articles in our index yet.