CVE-2022-23590
HIGH 7.5CVSS 3.1Crash due to erroneous `StatusOr` in TensorFlow
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.
- Published
- 4 Feb 2022
- Last modified
- 13 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-754
- Also known as
- BIT-tensorflow-2022-23590GHSA-pqrv-8r2f-7278PYSEC-2022-154PYSEC-2022-99PYSEC-2026-3225
- Sources
- NVDJSONOSV GHSA-pqrv-8r2f-7278JSONOSV PYSEC-2022-154JSONOSV PYSEC-2022-99JSONOSV PYSEC-2026-3225JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tensorflowcpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* |
< 2.7.1 | 2.7.1 | |
| OSV | PyPI | tensorflow | < 2.7.1 | 2.7.1 |
| OSV | PyPI | tensorflow-cpu | < 2.7.1 | 2.7.1 |
| OSV | PyPI | tensorflow-gpu | < 2.7.1 | 2.7.1 |
References
- https://github.com/tensorflow/tensorflow/blob/274df9b02330b790aa8de1cee164b70f72b9b244/tensorflow/core/graph/graph.cc#L560-L567 · Exploit, Third Party Advisory, WEB
- https://github.com/tensorflow/tensorflow/commit/955059813cc325dc1db5e2daa6221271406d4439 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-pqrv-8r2f-7278 · Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-23590 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2022-99.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2022-154.yaml · WEB
- https://github.com/tensorflow/tensorflow · WEB
- https://pypi.org/project/tensorflow · PACKAGE
- https://github.com/advisories/GHSA-pqrv-8r2f-7278 · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 4 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Feb 2022)