CVE-2018-10055 Improper Restriction of Operations within the Bounds of a Memory Buffer in Google TensorFlow

High 8.1 Published Updated

A heap buffer overflow in the TensorFlow XLA compiler allows attackers to cause crashes or read sensitive memory via crafted configuration files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-10055?

CVE-2018-10055 is a high-severity memory corruption vulnerability in Google Tensorflow, published on 24 Apr 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Invalid memory access and/or a heap buffer overflow in the TensorFlow XLA compiler in Google TensorFlow before 1.7.1 could cause a crash or read from other parts of process memory via a crafted configuration file.

Weakness: CWE-119

Which versions are affected by CVE-2018-10055?

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

PackageAffectedFixed in
tensorflow PyPIAll versions1.7.1
tensorflow PyPIFrom 1.1.01.7.1
tensorflow PyPIFrom 1.1.01.7.1
tensorflow-cpu PyPIAll versions1.7.1
tensorflow-gpu PyPIAll versions1.7.1
tensorflow-gpu PyPIFrom 1.1.01.7.1
1 more packages
tensorflow-gpu PyPIFrom 1.1.01.7.1

Products include Google Tensorflow.

How do I fix CVE-2018-10055?

Upgrade tensorflow to 1.7.1 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-10055 being exploited?

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

All Google Tensorflow vulnerabilities

Sources

Also known as GHSA-q492-f7gr-27rp, PYSEC-2019-204, PYSEC-2019-222, PYSEC-2019-229.

Is CVE-2018-10055 in your software?

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

Check your SBOMs for free