Security mailing lists by PureSourceCode

CVE-2020-15204

MEDIUM 5.3CVSS 3.1

Segfault in Tensorflow

In eager mode, TensorFlow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1 does not set the session state. Hence, calling tf.raw_ops.GetSessionHandle or tf.raw_ops.GetSessionHandleV2 results in a null pointer dereference In linked snippet, in eager mode, ctx->session_state() returns nullptr. Since code immediately dereferences this, we get a segmentation fault. The issue is patched in commit 9a133d73ae4b4664d22bd1aa6d654fec13c52ee1, 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-476
Also known as
BIT-tensorflow-2020-15204GHSA-q8gv-q7wr-9jf8PYSEC-2020-127PYSEC-2020-284PYSEC-2020-319
Sources
NVDJSONOSV GHSA-q8gv-q7wr-9jf8JSONOSV PYSEC-2020-127JSONOSV PYSEC-2020-284JSONOSV PYSEC-2020-319JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/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:12 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.