CVE-2021-41208
TensorFlow is an open source platform for machine learning. In affected versions the code for boosted trees in TensorFlow is still missing validation. As a result, attackers can trigger denial of service (via dereferencing `nullptr`s or via `CHECK`-failures) as well as abuse undefined behavior (binding references to `nullptr`s). An attacker can also read and write from heap buffers, depending on the API that gets used and the arguments that are passed to the call. Given that the boosted trees implementation in TensorFlow is unmaintained, it is recommend to no longer use these APIs. We will deprecate TensorFlow's boosted trees APIs in subsequent releases. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.
Scoring
- Severity
- HIGH
- CVSS base score
- 8.8
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- EPSS probability
- 0.01%
- CWE
- CWE-476, CWE-824
- Published
- 2021-11-05
- Last modified
- 2026-03-13
Affected products
- tensorflow tensorflow
- tensorflow tensorflow
- tensorflow tensorflow
Weakness type
Related vulnerabilities
- CVE-2026-55209 — resdata insufficiently validates untrusted GRDECL files
- CVE-2026-58161 — Apache Traffic Server: Memory-safety errors in TLS and SNI handling can crash the server
- CVE-2026-42766 — Possible NULL Dereference in Password-Based CMS Decryption
- CVE-2026-60109 — Zeek < 8.0.9 Null Pointer Dereference DoS via Kerberos KRB_ERROR Parsing
- CVE-2026-67304 — FreeRDP before 3.29.0 NULL Dereference via smartcard cleanup
- CVE-2026-67288 — FreeRDP before 3.29.0 Denial of Service via smartcard cache
- CVE-2026-55204 — HAProxy - NULL Pointer Dereference in hpack_dht_insert Function
- CVE-2026-13084 — Null Pointer Dereference in WatchGuard Fireware OS iked Process