CVE-2023-33976 TensorFlow segfault in array_ops.upper_bound

High 7.5 Published Updated

An attacker can cause a segmentation fault and denial of service in TensorFlow by providing an invalid tensor rank to the upper_bound operation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-33976?

CVE-2023-33976 is a high-severity vulnerability in Google Tensorflow, published on 30 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

TensorFlow is an end-to-end open source platform for machine learning. `array_ops.upper_bound` causes a segfault when not given a rank 2 tensor. The fix will be included in TensorFlow 2.13 and will also cherrypick this commit on TensorFlow 2.12.

Weakness: CWE-190

Which versions are affected by CVE-2023-33976?

10 open source packages ship an affected version, including tensorflow, tensorflow-cpu and tensorflow-gpu. It affects 1 product.

PackageAffectedFixed in
tensorflow BitnamiAll versions2.12.1
tensorflow PyPIAll versions2.12.1
tensorflow PyPIAll versions2.12.1
tensorflow PyPIAll versions2.12.1
tensorflow-cpu PyPIAll versions2.12.1
tensorflow-cpu PyPIAll versions2.12.1
4 more packages
tensorflow-cpu PyPIAll versions2.12.1
tensorflow-gpu PyPIAll versions2.12.1
tensorflow-gpu PyPIAll versions2.12.1
tensorflow-gpu PyPIAll versions2.12.1

Products include Google Tensorflow.

How do I fix CVE-2023-33976?

Upgrade tensorflow to 2.12.1 or later.

Is CVE-2023-33976 being exploited?

There is no known exploitation of CVE-2023-33976 in the wild and no public exploit code.

All Google Tensorflow vulnerabilities

Sources

Also known as AZL-47242, BIT-tensorflow-2023-33976, GHSA-gjh7-xx4r-x345, PYSEC-2026-1962, PYSEC-2026-3190, PYSEC-2026-3331.

Is CVE-2023-33976 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free