Security mailing lists by PureSourceCode

CVE-2020-15205

CRITICAL 9.8CVSS 3.1

Data leak in Tensorflow

In Tensorflow before versions 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. This allows a user to pass values that can cause heap overflow errors and even leak contents of memory In the linked code snippet, all the binary strings after ee ff are contents from the memory stack. Since these can contain return addresses, this data leak can be used to defeat ASLR. The issue is patched in commit 0462de5b544ed4731aa2fb23946ac22c01856b80, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.

Published
25 Sep 2020
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-119CWE-122CWE-787
Also known as
BIT-tensorflow-2020-15205GHSA-g7p5-5759-qv46PYSEC-2020-128PYSEC-2020-285PYSEC-2020-320
Sources
NVDJSONOSV GHSA-g7p5-5759-qv46JSONOSV PYSEC-2020-128JSONOSV PYSEC-2020-285JSONOSV PYSEC-2020-320JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:-:*:*:*
< 1.15.4 1.15.4
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:-:*:*:*
>= 2.0.0, < 2.0.3 2.0.3
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:-:*:*:*
>= 2.1.0, < 2.1.2 2.1.2
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:-:*:*:*
>= 2.2.0, < 2.2.1 2.2.1
NVD google tensorflow
cpe:2.3:a:google:tensorflow:*:*:*:*:-:*:*:*
>= 2.3.0, < 2.3.1 2.3.1
NVD opensuse leap
cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:*
= 15.2
OSV PyPI tensorflow < 1.15.4 1.15.4
OSV PyPI tensorflow >= 2.0.0, < 2.0.3 2.0.3
OSV PyPI tensorflow >= 2.1.0, < 2.1.2 2.1.2
OSV PyPI tensorflow >= 2.2.0, < 2.2.1 2.2.1
OSV PyPI tensorflow >= 2.3.0, < 2.3.1 2.3.1
OSV PyPI tensorflow-cpu < 1.15.4 1.15.4
OSV PyPI tensorflow-cpu >= 2.0.0, < 2.0.3 2.0.3
OSV PyPI tensorflow-cpu >= 2.1.0, < 2.1.2 2.1.2
OSV PyPI tensorflow-cpu >= 2.2.0, < 2.2.1 2.2.1
OSV PyPI tensorflow-cpu >= 2.3.0, < 2.3.1 2.3.1
OSV PyPI tensorflow-gpu < 1.15.4 1.15.4
OSV PyPI tensorflow-gpu >= 2.0.0, < 2.0.3 2.0.3
OSV PyPI tensorflow-gpu >= 2.1.0, < 2.1.2 2.1.2
OSV PyPI tensorflow-gpu >= 2.2.0, < 2.2.1 2.2.1
OSV PyPI tensorflow-gpu >= 2.3.0, < 2.3.1 2.3.1
OSV PyPI tensorflow < 1.15.4; >= 2.0.0, < 2.0.3; >= 2.1.0, < 2.1.2; >= 2.2.0, < 2.2.1; >= 2.3.0, < 2.3.1 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
OSV PyPI tensorflow-cpu < 1.15.4; >= 2.0.0, < 2.0.3; >= 2.1.0, < 2.1.2; >= 2.2.0, < 2.2.1; >= 2.3.0, < 2.3.1 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
OSV PyPI tensorflow-gpu < 1.15.4; >= 2.0.0, < 2.0.3; >= 2.1.0, < 2.1.2; >= 2.2.0, < 2.2.1; >= 2.3.0, < 2.3.1 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 25 Sep 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Sep 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 25 Sep 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.