CVE-2021-37678 (High) detected in tensorflow_gpu-2.0.3-cp37-cp37m-manylinux2010_x86_64.whl, tensorflow-2.2.1-cp37-cp37m-manylinux2010_x86_64.whl #401
Labels
security vulnerability
Security vulnerability detected by WhiteSource
CVE-2021-37678 - High Severity Vulnerability
Vulnerable Libraries - tensorflow_gpu-2.0.3-cp37-cp37m-manylinux2010_x86_64.whl, tensorflow-2.2.1-cp37-cp37m-manylinux2010_x86_64.whl
tensorflow_gpu-2.0.3-cp37-cp37m-manylinux2010_x86_64.whl
TensorFlow is an open source machine learning framework for everyone.
Library home page: https://files.pythonhosted.org/packages/a0/41/2f957b293fa90c083f8c02d3f05b47494e3ff8d64410ce7ca30200f13739/tensorflow_gpu-2.0.3-cp37-cp37m-manylinux2010_x86_64.whl
Path to dependency file: /examples/notebooks/tf_2_0/requirements.txt
Path to vulnerable library: /examples/notebooks/tf_2_0/requirements.txt
Dependency Hierarchy:
tensorflow-2.2.1-cp37-cp37m-manylinux2010_x86_64.whl
TensorFlow is an open source machine learning framework for everyone.
Library home page: https://files.pythonhosted.org/packages/d5/09/4c7f73c263f23a568cd7d3fe56f0daa9a1eaadee603e1e05386b862ffa91/tensorflow-2.2.1-cp37-cp37m-manylinux2010_x86_64.whl
Path to dependency file: /examples/notebooks/tf_2_2/requirements.txt
Path to vulnerable library: /examples/notebooks/tf_2_2/requirements.txt
Dependency Hierarchy:
Found in HEAD commit: 4e3aa8327ca6834d417f1c7de964019ba75cc2d1
Vulnerability Details
TensorFlow is an end-to-end open source platform for machine learning. In affected versions TensorFlow and Keras can be tricked to perform arbitrary code execution when deserializing a Keras model from YAML format. The implementation uses
yaml.unsafe_load
which can perform arbitrary code execution on the input. Given that YAML format support requires a significant amount of work, we have removed it for now. We have patched the issue in GitHub commit 23d6383eb6c14084a8fc3bdf164043b974818012. The fix will be included in TensorFlow 2.6.0. We will also cherrypick this commit on TensorFlow 2.5.1, TensorFlow 2.4.3, and TensorFlow 2.3.4, as these are also affected and still in supported range.Publish Date: 2021-08-12
URL: CVE-2021-37678
CVSS 3 Score Details (8.8)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-r6jx-9g48-2r5r
Release Date: 2021-08-12
Fix Resolution: tensorflow - 2.3.4, 2.4.3, 2.5.1, 2.6.0, tensorflow-cpu - 2.3.4, 2.4.3, 2.5.1, 2.6.0, tensorflow-gpu - 2.3.4, 2.4.3, 2.5.1, 2.6.0
The text was updated successfully, but these errors were encountered: