Skip to content
HighVulnerability

CVE-2020-15207: tensorflow-lite negative index out-of-bounds access in ResolveAxis

Identifier
CVE-2020-15207
Published
Record updated
View JSON
Affected
  • tensorflow < 1.15.4, fixed in 1.15.4, released September 24, 2020, 1 day before disclosure
  • tensorflow >= 2.0.0, < 2.0.3, fixed in 2.0.3, released September 24, 2020, 1 day before disclosure
  • tensorflow >= 2.1.0, < 2.1.2, fixed in 2.1.2, released September 24, 2020, 1 day before disclosure
  • and 12 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.2%

Summary

In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, `ResolveAxis` converts negative axis values to positive indices, but the check that the converted index is valid exists only in debug builds, through a `DCHECK`. When that check does not trigger, execution continues with a negative index, which accesses data out of bounds and can cause segfaults or data corruption.

Mitigation

The issue is patched in commit 2d88f470dea2671b430884260f3626b1fe99830a and released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.