Skip to content
MediumVulnerability

CVE-2020-15192: TensorFlow memory leak in dlpack.to_dlpack on validation failure

Identifier
CVE-2020-15192
Published
Record updated
View JSON
Affected
  • tensorflow = 2.2.0, fixed in 2.2.1
  • tensorflow = 2.3.0, fixed in 2.3.1
  • tensorflow-cpu = 2.2.0, fixed in 2.2.1
  • and 3 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

Tensorflow versions before 2.2.1 and 2.3.1 leak memory when a user passes a list of strings to `dlpack.to_dlpack`. The leak follows an expected validation failure because the `status` argument is not checked after the methods that can return an error status.

Mitigation

The issue is patched in commit 22e07fb204386768e5bcbea563641ea11f96ceb8 and is released in TensorFlow versions 2.2.1 or 2.3.1.