CVE-2021-41208 — Incomplete validation in tensorflow — CVE Details
Incomplete validation in boosted trees code
Summary
Advisory Timeline
- First published November 10, 2021 (1797 days ago).
- Last revised July 8, 2026 — 1700 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "tensorflow>=2.6.1"
pip install "tensorflow-gpu>=2.4.4"
pip install "tensorflow-gpu>=2.6.1"
pip install "tensorflow-cpu>=2.4.4"
pip install "tensorflow>=2.5.2"
pip install "tensorflow-gpu>=2.5.2"
pip install "tensorflow-cpu>=2.6.1"
pip install "tensorflow>=2.4.4"
pip install "tensorflow-cpu>=2.5.2"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (9)
Affects 1 ecosystem: pypi (3).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| tensorflow | pypi | 2.6.0 | 2.6.1 |
| tensorflow-gpu | pypi | 0.12.0, 0.12.1, 1.0.0, 1.0.1 (+50 more) | 2.4.4 |
| tensorflow-gpu | pypi | 2.6.0 | 2.6.1 |
| tensorflow-cpu | pypi | 1.15.0, 2.1.0, 2.1.1, 2.1.2 (+15 more) | 2.4.4 |
| tensorflow | pypi | 2.5.0, 2.5.1 | 2.5.2 |
| tensorflow-gpu | pypi | 2.5.0, 2.5.1 | 2.5.2 |
| tensorflow-cpu | pypi | 2.6.0 | 2.6.1 |
| tensorflow | pypi | 0.12.0, 0.12.1, 1.0.0, 1.0.1 (+50 more) | 2.4.4 |
| tensorflow-cpu | pypi | 2.5.0, 2.5.1 | 2.5.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-476NULL Pointer DereferenceMITRE
- CWE-824
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.3 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-57wx-m983-2f88WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-41208ADVISORY
- https://github.com/tensorflow/tensorflow/commit/5c8c9a8bfe750f9743d0c859bae112060b216f5cWEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-617.yamlWEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-815.yamlWEB
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-400.yamlWEB
- https://github.com/tensorflow/tensorflowPACKAGE
Frequently Asked Questions
- What is CVE-2021-41208?
- Incomplete validation in boosted trees code This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.3/10).
- How do I check if my project is affected by CVE-2021-41208?
- CVE-2021-41208 affects tensorflow, tensorflow-gpu and tensorflow-cpu. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-41208 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2023-25668CRITICAL
TensorFlow has a heap out-of-buffer read vulnerability in the QuantizeAndDequantize operation
- CVE-2023-25668CRITICAL
TensorFlow has a heap out-of-buffer read vulnerability in the QuantizeAndDequantize operation
- CVE-2023-25668CRITICAL
TensorFlow has a heap out-of-buffer read vulnerability in the QuantizeAndDequantize operation
- CVE-2026-61447CRITICAL
PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets
- CVE-2026-61445CRITICAL
PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies