Skip to content
LowVulnerability

CVE-2020-15266: TensorFlow crop_and_resize crash from very large boxes argument

Identifier
CVE-2020-15266
Published
Record updated
View JSON
Affected
  • tensorflow < 2.4.0
  • tensorflow-cpu < 2.4.0
  • tensorflow-gpu < 2.4.0
Fixed in
2.4.0
  • tensorflow 2.4.0 released December 14, 2020, 53 days after disclosure
  • tensorflow-cpu 2.4.0 released December 14, 2020, 53 days after disclosure
  • tensorflow-gpu 2.4.0 released December 14, 2020, 53 days after disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%

Summary

CVE-2020-15266 affects TensorFlow before version 2.4.0. When the `boxes` argument of `tf.image.crop_and_resize` has a very large value, the CPU kernel receives it as a C++ `nan` floating point value. Operating on this value is undefined behavior that later produces a segmentation fault.

Mitigation

The issue is patched in eccb7ec454e6617738554a255d77f08e60ee0808, and TensorFlow 2.4.0 will be released containing the patch. TensorFlow nightly packages after this commit also have the issue resolved.