Skip to content
MediumVulnerability

CVE-2020-26271: TensorFlow out-of-bounds read in MakeEdge when loading a saved model

Identifier
CVE-2020-26271
Published
Record updated
View JSON
Affected
  • tensorflow < 1.15.5, fixed in 1.15.5, released January 6, 2021, 26 days after disclosure
  • tensorflow >= 2.0.0, < 2.0.4, fixed in 2.0.4, released January 6, 2021, 26 days after disclosure
  • tensorflow >= 2.1.0, < 2.1.3, fixed in 2.1.3, released January 6, 2021, 26 days after disclosure
  • and 12 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

In affected versions of TensorFlow, loading a saved model can access uninitialized memory while building the computation graph. The MakeEdge function does not check that output_index and input_index fall inside the arrays they index, so out-of-bounds heap reads can occur, and with a far-away index they can leak addresses from the library.

Mitigation

Fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.