Skip to content
MediumVulnerability

CVE-2020-15209: In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, a crafted TFLite model can force a node to…

Identifier
CVE-2020-15209
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
0.8%

Summary

A crafted TFLite model in tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1 can force a node to take as input a tensor backed by a `nullptr` buffer. By changing a buffer index in the flatbuffer serialization, an attacker converts a read-only tensor to read-write, and since nothing writes to it, the runtime dereferences a null pointer.

Mitigation

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