Security mailing lists by PureSourceCode

CVE-2020-15190

MEDIUM 5.3CVSS 3.1

Segfault in Tensorflow

In Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the tf.raw_ops.Switch operation takes as input a tensor and a boolean and outputs two tensors. Depending on the boolean value, one of the tensors is exactly the input tensor whereas the other one should be an empty tensor. However, the eager runtime traverses all tensors in the output. Since only one of the tensors is defined, the other one is nullptr, hence we are binding a reference to nullptr. This is undefined behavior and reported as an error if compiling with -fsanitize=null. In this case, this results in a segmentation fault The issue is patched in commit da8558533d925694483d2c136a9220d6d49d843c, 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-20CWE-476
Also known as
BIT-tensorflow-2020-15190GHSA-4g9f-63rx-5cw4PYSEC-2020-113PYSEC-2020-270PYSEC-2020-305
Sources
NVDJSONOSV GHSA-4g9f-63rx-5cw4JSONOSV PYSEC-2020-113JSONOSV PYSEC-2020-270JSONOSV PYSEC-2020-305JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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: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.