CVE-2021-37649: NULL Pointer Dereference
(updated )
TensorFlow is an end-to-end open source platform for machine learning. The code for tf.raw_ops.UncompressElement
can be made to trigger a null pointer dereference. The implementation obtains a pointer to a CompressedElement
from a Variant
tensor and then proceeds to dereference it for decompressing. There is no check that the Variant
tensor contained a CompressedElement
, so the pointer is actually nullptr
.
References
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 →