CVE-2022-23590
MEDIUM5.9EPSS 0.24%Crash due to erroneous `StatusOr` in Tensorflow
Published: 2/9/2022Modified: 5/20/2025
Description
Tensorflow is an Open Source Machine Learning Framework. A `GraphDef` from a TensorFlow `SavedModel` can be maliciously altered to cause a TensorFlow process to crash due to encountering a `StatusOr` value that is an error and forcibly extracting the value from it. We have patched the issue in multiple GitHub commits and these will be included in TensorFlow 2.8.0 and TensorFlow 2.7.1, as both are affected.
Affected packages (6)
- Bitnami/tensorflowfrom 0, < 2.7.1
- PyPI/tensorflowfrom 0, < 2.7.1
- PyPI/tensorflow-cpufrom 0, < 2.7.1
- PyPI/tensorflow-cpufrom 0, < 955059813cc325dc1db5e2daa6221271406d4439 | from 0, < 2.7.1
- PyPI/tensorflow-gpufrom 0, < 2.7.1
- PyPI/tensorflow-gpufrom 0, < 955059813cc325dc1db5e2daa6221271406d4439 | from 0, < 2.7.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-23590
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2022-99.yaml
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2022-154.yaml
- WEBhttps://github.com/tensorflow/tensorflow
- WEBhttps://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L560-L567
- WEBhttps://github.com/tensorflow/tensorflow/commit/955059813cc325dc1db5e2daa6221271406d4439
- WEBhttps://github.com/tensorflow/tensorflow/security/advisories/GHSA-pqrv-8r2f-7278