CVE-2021-29530
2.5 · LOWOverview
CVE-2021-29530 is a low-severity vulnerability affecting google tensorflow. It was published on May 14, 2021 and has a CVSS 3.1 base score of 2.5 (LOW).
This vulnerability has a CVSS 3.1 base score of 2.5, rated LOW. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.
Technical Description
TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a null pointer dereference by providing an invalid `permutation` to `tf.raw_ops.SparseMatrixSparseCholesky`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/080f1d9e257589f78b3ffb75debf584168aa6062/tensorflow/core/kernels/sparse/sparse_cholesky_op.cc#L85-L86) fails to properly validate the input arguments. Although `ValidateInputs` is called and there are checks in the body of this function, the code proceeds to the next line in `ValidateInputs` since `OP_REQUIRES`(https://github.com/tensorflow/tensorflow/blob/080f1d9e257589f78b3ffb75debf584168aa6062/tensorflow/core/framework/op_requires.h#L41-L48) is a macro that only exits the current function. Thus, the first validation condition that fails in `ValidateInputs` will cause an early return from that function. However, the caller will continue execution from the next line. The fix is to either explicitly check
Remediation
Check the references section for vendor advisories and patches from google. Update tensorflow to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| tensorflow | >= 0, < 2.1.4 | Affected |
References
Frequently Asked Questions
What is CVE-2021-29530?
CVE-2021-29530 is a low-severity vulnerability affecting google tensorflow. It was published on May 14, 2021 and has a CVSS 3.1 base score of 2.5 (LOW).
How severe is CVE-2021-29530?
This vulnerability has a CVSS 3.1 base score of 2.5, rated LOW. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.
How do I fix or remediate CVE-2021-29530?
Check the references section for vendor advisories and patches from google. Update tensorflow to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2021-29530?
CyberStrike's AI-powered security agents can automatically detect CVE-2021-29530 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related LOW CVEs from 2021
View all →ide_atapi_cmd_reply_end in hw/ide/atapi.c in QEMU 5.1.0 allows out-of-bounds read access because a b
The ownCloud application before 2.15 for Android allows attackers to use adb to include a PIN prefer
fr-archive-libarchive.c in GNOME file-roller through 3.38.0, as used by GNOME Shell and other softwa
Vulnerability in the Hyperion Financial Management product of Oracle Hyperion (component: Task Autom
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex Model 3009 MP
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex TCM 4351B inst
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex Model 3009 MP
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex Model 3009 MP
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex Model 3009 MP
Improper Check for Unusual or Exceptional Conditions vulnerability exists in Triconex Model 3009 MP
Nextcloud Android app is the Android client for Nextcloud. In versions prior to 3.16.1, a malicious
Trusty TLK contains a vulnerability in its access permission settings where it does not properly res