CVE-2021-37685: Out-of-bounds Read
TensorFlow is an end-to-end open source platform for machine learning.If axis
is a large negative value (e.g., -100000
), then after the first if
it would still be negative. The check following the if
statement will pass and the for
loop would read one element before the start of input_dims.data
(when i = 0
). We have patched the issue in GitHub commit d94ffe08a65400f898241c0374e9edc6fa8ed257. The fix will be included in TensorFlow We will also cherrypick this commit on TensorFlow, TensorFlow, and TensorFlow, as these are also affected and still in supported range.
References
Detect and mitigate CVE-2021-37685 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →