CVE-2021-37660: Division by 0 in inplace operations
(updated )
An attacker can cause a floating point exception by calling inplace operations with crafted arguments that would result in a division by 0:
import tensorflow as tf
tf.raw_ops.InplaceSub(x=[],i=[-99,-1,-1],v=[1,1,1])
References
- github.com/advisories/GHSA-cm5x-837x-jf3c
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-573.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-771.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-282.yaml
- github.com/tensorflow/tensorflow
- github.com/tensorflow/tensorflow/commit/e86605c0a336c088b638da02135ea6f9f6753618
- github.com/tensorflow/tensorflow/security/advisories/GHSA-cm5x-837x-jf3c
- nvd.nist.gov/vuln/detail/CVE-2021-37660
Detect and mitigate CVE-2021-37660 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 →