INCIDENT MAP

Browse / Unsafe Model Loading and Supply Chain / CVE-2018-8825

Improper Restriction of Operations within the Bounds of a Memory Buffer in Google TensorFlow

CVE-2018-8825 ยท 2019-04-24 high

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Memory corruption
Also involves
AI Framework and Platform Flaws
Affected
tensorflow (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.8% chance of exploitation in 30 days

How it works, in short

A malformed TFLite model file passed to the TOCO converter overflows a memory buffer during parsing, which can lead to code execution. (Our summary, written by a model. The source text is below.)

Details

Google TensorFlow 1.7 and below is affected by: Buffer Overflow. The impact is: execute arbitrary code (local). Users passing a malformed or malicious version of a TFLite graph into TOCO will cause TOCO to crash or cause a buffer overflow, potentially allowing malicious code to be executed.

References

Source: GitHub Advisory Database, used under CC BY 4.0.