Skip to content
MediumVulnerability

CVE-2020-26267: In affected versions of TensorFlow the tf.raw_ops.DataFormatVecPermute API does not validate the src_format and…

Identifier
CVE-2020-26267
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

CVE-2020-26267 affects TensorFlow versions where the tf.raw_ops.DataFormatVecPermute API does not validate its src_format and dst_format attributes. The code assumes these arguments define a permutation of NHWC, so malformed input can cause uninitialized memory accesses, out-of-bounds reads and crashes. The weakness is classified as CWE-125, Out-of-bounds Read.

Mitigation

This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.