CVE-2020-15205CWE-119CWE-122

Data leak in Tensorflow

Critical · published September 25, 2020

CVSS v3.1
9.0
EPSS
1%
Percentile
63.4
In the wild
Unconfirmed
What it is

🚨 A sneaky lack of validation in TensorFlow's `data_splits` argument can lead to a heap overflow and expose sensitive memory contents — potentially a goldmine for attackers! 🔥 Think of it like a restaurant that doesn’t check food orders properly. If someone slips in a recipe that calls for mystery ingredients, it could lead to a disastrous dinner service, with dishes gone wrong and potentially harmful surprises on the table! An attacker could exploit this vulnerability to not only cause a heap overflow but also leak sensitive information from memory. This could include critical data like return addresses, effectively bypassing Address Space Layout Randomization (ASLR) defenses. The chaos could lead to unauthorized access and system instability — a recipe for disaster!

Put simply

Think of it like a restaurant that doesn’t check food orders properly. If someone slips in a recipe that calls for mystery ingredients, it could lead to a disastrous dinner service, with dishes gone wrong and potentially harmful surprises on the table! The vulnerability arises in TensorFlow versions before 1.15.4 and 2.3.1, where the `data_splits` argument in `tf.raw_ops.StringNGrams` lacks proper validation. This allows malicious inputs that can corrupt memory, enabling an attacker to read sensitive information from the stack.

What to do

An attacker could exploit this vulnerability to not only cause a heap overflow but also leak sensitive information from memory. This could include critical data like return addresses, effectively bypassing Address Space Layout Randomization (ASLR) defenses. The chaos could lead to unauthorized access and system instability — a recipe for disaster! Patch your TensorFlow installations to versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1 immediately to close this vulnerability. Regularly audit your dependencies and validate inputs to prevent similar issues in the future. Stay vigilant! You've got this! With a quick patch, you can secure your TensorFlow installation and keep your environment safe! 🛡️

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01029 · 63.4th percentile
Weaknesses
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer; CWE-122 · Heap-based Buffer Overflow
Published
2020-09-25T18:45Z
EPSS history
Timeline
  • 25 SEP 18:45Z
    Data leak in Tensorflow
    cvelistv5