Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. tensorflow
  4. ›
  5. GMS-2022-50

GMS-2022-50: Integer Overflow or Wraparound in TensorFlow

February 9, 2022

Impact

The Grappler component of TensorFlow is vulnerable to a denial of service via CHECK-failure in constant folding for ; // … }

  
The `output_prop` tensor has a shape that is controlled by user input and this can result in triggering one of the `CHECK`s in the `PartialTensorShape` constructor. This is an instance of TFSA-2021-198 .

### Patches
We have patched the issue in GitHub commit be7b286d40bc68cb0b56f702186cc4837d508058 fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, 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.

References

  • github.com/advisories/GHSA-wcv5-vrvr-3rx2
  • github.com/tensorflow/tensorflow/commit/be7b286d40bc68cb0b56f702186cc4837d508058
  • github.com/tensorflow/tensorflow/security/advisories/GHSA-prcg-wp5q-rv7p
  • github.com/tensorflow/tensorflow/security/advisories/GHSA-wcv5-vrvr-3rx2

Code Behaviors & Features

Detect and mitigate GMS-2022-50 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.5.3, all versions starting from 2.6.0 before 2.6.3, version 2.7.0

Fixed versions

  • 2.5.3
  • 2.6.3
  • 2.7.1

Solution

Upgrade to versions 2.5.3, 2.6.3, 2.7.1 or above.

Source file

pypi/tensorflow/GMS-2022-50.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:03 +0000.