Skip to content
CriticalVulnerability

CVE-2020-15205: Tensorflow heap overflow and memory leak in tf.raw_ops.StringNGrams data_splits

Identifier
CVE-2020-15205
Published
Record updated
View JSON
Affected
  • tensorflow < 1.15.4, fixed in 1.15.4, released September 24, 2020, 1 day before disclosure
  • tensorflow >= 2.0.0, < 2.0.3, fixed in 2.0.3, released September 24, 2020, 1 day before disclosure
  • tensorflow >= 2.1.0, < 2.1.2, fixed in 2.1.2, released September 24, 2020, 1 day before disclosure
  • and 12 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.0%

Summary

CVE-2020-15205 affects TensorFlow versions before 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1. The `data_splits` argument of `tf.raw_ops.StringNGrams` lacks validation, so crafted values can cause heap overflow errors and leak memory contents, which may include return addresses that can be used to defeat ASLR.

Mitigation

The issue is patched in commit 0462de5b544ed4731aa2fb23946ac22c01856b80 and released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.