Skip to content
MediumVulnerability

CVE-2020-15198: Tensorflow SparseCountSparseOutput out-of-bounds read via unvalidated shape

Identifier
CVE-2020-15198
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.5%

Summary

CVE-2020-15198 affects TensorFlow before version 2.3.1. The `SparseCountSparseOutput` implementation does not check that the `indices` and `values` tensors have matching shapes, and because both are read in parallel, a mismatch can cause accesses outside the bounds of heap-allocated buffers.

Mitigation

Fixed in TensorFlow version 2.3.1, patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02.