Miggo Logo

CVE-2019-9635: NULL Pointer Dereference in Google TensorFlow

6.5

CVSS Score
3.0

Basic Information

EPSS Score
0.31616%
Published
4/30/2019
Updated
10/28/2024
KEV Status
No
Technology
TechnologyPython

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
tensorflowpip>= 1.0.0, < 1.12.11.12.1
tensorflow-gpupip>= 1.0.0, < 1.12.11.12.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from the Decode function in gif_io.cc, which handled GIF frame color maps without proper null checks. The patch explicitly adds a 'if (color_map == nullptr)' check to prevent dereferencing. The commit message and CVE description both directly reference this decoding logic as the vulnerable component. The file modification in the commit diff confirms the vulnerable code path was in this function.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

NULL point*r **r***r*n** in *oo*l* T*nsor*low ***or* *.**.* *oul* **us* * **ni*l o* s*rvi** vi* *n inv*li* *I* *il*.

Reasoning

T** vuln*r**ility st*ms *rom t** ***o** *un*tion in *i*_io.**, w*i** **n*l** *I* *r*m* *olor m*ps wit*out prop*r null ****ks. T** p*t** *xpli*itly ***s * 'i* (*olor_m*p == nullptr)' ****k to pr*v*nt **r***r*n*in*. T** *ommit m*ss*** *n* *V* **s*ripti