Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1nNDY4LXFqOGctdmNqY84AAu2P
TensorFlow vulnerable to `CHECK`-fail in `tensorflow::full_type::SubstituteFromAttrs`
Impact
When tensorflow::full_type::SubstituteFromAttrs
receives a FullTypeDef& t
that is not exactly three args, it triggers a CHECK
-fail instead of returning a status.
Status SubstituteForEach(AttrMap& attrs, FullTypeDef& t) {
DCHECK_EQ(t.args_size(), 3);
const auto& cont = t.args(0);
const auto& tmpl = t.args(1);
const auto& t_var = t.args(2);
Patches
We have patched the issue in GitHub commit 6104f0d4091c260ce9352f9155f7e9b725eab012. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Permalink: https://github.com/advisories/GHSA-g468-qj8g-vcjcJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1nNDY4LXFqOGctdmNqY84AAu2P
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: about 1 year ago
Updated: 10 months ago
Identifiers: GHSA-g468-qj8g-vcjc, CVE-2022-36016
References:
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-g468-qj8g-vcjc
- https://github.com/tensorflow/tensorflow/commit/6104f0d4091c260ce9352f9155f7e9b725eab012
- https://github.com/tensorflow/tensorflow/releases/tag/v2.10.0
- https://nvd.nist.gov/vuln/detail/CVE-2022-36016
- https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/ops/math_ops.cc
- https://github.com/advisories/GHSA-g468-qj8g-vcjc
Affected Packages
pypi:tensorflow-gpu
Versions: >= 2.9.0, < 2.9.1, >= 2.8.0, < 2.8.1, < 2.7.2Fixed in: 2.9.1, 2.8.1, 2.7.2
pypi:tensorflow-cpu
Versions: >= 2.9.0, < 2.9.1, >= 2.8.0, < 2.8.1, < 2.7.2Fixed in: 2.9.1, 2.8.1, 2.7.2
pypi:tensorflow
Versions: >= 2.9.0, < 2.9.1, >= 2.8.0, < 2.8.1, < 2.7.2Fixed in: 2.9.1, 2.8.1, 2.7.2