CVE-2021-29614: Interpreter crash from `tf.io.decode_raw`
(updated )
The implementation of tf.io.decode_raw
produces incorrect results and crashes the Python interpreter when combining fixed_length
and wider datatypes.
import tensorflow as tf
tf.io.decode_raw(tf.constant(["1","2","3","4"]), tf.uint16, fixed_length=4)
References
- github.com/advisories/GHSA-8pmx-p244-g88h
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-542.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-740.yaml
- github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-251.yaml
- github.com/tensorflow/tensorflow
- github.com/tensorflow/tensorflow/commit/698e01511f62a3c185754db78ebce0eee1f0184d
- github.com/tensorflow/tensorflow/security/advisories/GHSA-8pmx-p244-g88h
- nvd.nist.gov/vuln/detail/CVE-2021-29614
Detect and mitigate CVE-2021-29614 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 →