Skip to content
HighVulnerability

CVE-2020-15196: In Tensorflow version 2.3.0, the `SparseCountSparseOutput` and `RaggedCountSparseOutput` implementations don't validate…

Identifier
CVE-2020-15196
Published
Record updated
View JSON
Affected
  • tensorflow = 2.3.0
  • tensorflow-cpu = 2.3.0
  • tensorflow-gpu = 2.3.0
Fixed in
2.3.1
  • tensorflow 2.3.1 released September 24, 2020, 1 day before disclosure
  • tensorflow-cpu 2.3.1 released September 24, 2020, 1 day before disclosure
  • tensorflow-gpu 2.3.1 released September 24, 2020, 1 day before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.9%

Summary

CVE-2020-15196 affects TensorFlow 2.3.0. The `SparseCountSparseOutput` and `RaggedCountSparseOutput` implementations do not check that the `weights` tensor matches the shape of the data, unlike `DenseCountSparseOutput`. An attacker who passes fewer weights than values can trigger a read outside the bounds of the heap buffer allocated for the weights.

Mitigation

The issue is patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and released in TensorFlow version 2.3.1.