Loading HuntDB...

GHSA-gjh7-xx4r-x345

GitHub Security Advisory

TensorFlow has segfault in array_ops.upper_bound

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

### Impact
`array_ops.upper_bound` causes a segfault when not given a rank 2 tensor.

### Patches
We have patched the issue in GitHub commit [915884fdf5df34aaedd00fc6ace33a2cfdefa586](https://github.com/tensorflow/tensorflow/commit/915884fdf5df34aaedd00fc6ace33a2cfdefa586).

The fix will be included in TensorFlow 2.13. We will also cherrypick this commit in TensorFlow 2.12.1.

### For more information
Please consult [our security guide](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) for more information regarding the security model and how to contact us with issues and questions.

### Attribution
This vulnerability has been reported by dmc1778

Affected Packages

PyPI tensorflow
Affected versions: 0 (fixed in 2.12.1)
PyPI tensorflow-cpu
Affected versions: 0 (fixed in 2.12.1)
PyPI tensorflow-gpu
Affected versions: 0 (fixed in 2.12.1)

Related CVEs

Key Information

GHSA ID
GHSA-gjh7-xx4r-x345
Published
July 30, 2024 8:47 PM
Last Modified
July 30, 2024 9:36 PM
CVSS Score
7.5 /10
Primary Ecosystem
PyPI
Primary Package
tensorflow
GitHub Reviewed
✓ Yes

Dataset

Last updated: September 13, 2025 6:30 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.