Segfault via invalid attributes in `pywrap_tfe_src.cc` in Tensorflow
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.10.1, 2.9.3, 2.8.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: no
- Technical impact: partial
Summary
TensorFlow is an open source platform for machine learning. If a list of quantized tensors is assigned to an attribute, the pywrap code fails to parse the tensor and returns a `nullptr`, which is not caught. An example can be seen in `tf.compat.v1.extract_volume_patches` by passing in quantized tensors as input `ksizes`. We have patched the issue in GitHub commit e9e95553e5411834d215e6770c81a83a3d0866ce. 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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- tensorflow tensorflow
From 2.10.0 · fixed in 2.10.1; From 2.9.0 · fixed in 2.9.3; fixed in 2.8.4
- tensorflowPyPI
fixed in 2.8.4; From 2.9.0 · fixed in 2.9.3; From 2.10.0 · fixed in 2.10.1
- tensorflowPyPI
fixed in 2.8.4
- tensorflowPyPI
From 2.9.0 · fixed in 2.9.3
- tensorflowPyPI
From 2.10.0 · fixed in 2.10.1
- tensorflow-cpuPyPI
fixed in 2.8.4
- tensorflow-gpuPyPI
fixed in 2.8.4
- tensorflow-cpuPyPI
From 2.9.0 · fixed in 2.9.3
- tensorflow-gpuPyPI
From 2.9.0 · fixed in 2.9.3
- tensorflow-cpuPyPI
From 2.10.0 · fixed in 2.10.1
- tensorflow-gpuPyPI
From 2.10.0 · fixed in 2.10.1
- tensorflow-cpuPyPI
fixed in 2.8.4; From 2.9.0 · fixed in 2.9.3; From 2.10.0 · fixed in 2.10.1
- tensorflow-gpuPyPI
fixed in 2.8.4; From 2.9.0 · fixed in 2.9.3; From 2.10.0 · fixed in 2.10.1