CVE-2021-41208
November 05, 2021
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.
Affected Packages
tensorflow-cpu (PYTHON):
Affected version(s) >=0.0.0 <2.4.4Fix Suggestion:
Update to version 2.4.4tensorflow (PYTHON):
Affected version(s) >=2.5.0 <2.5.2Fix Suggestion:
Update to version 2.5.2tensorflow (PYTHON):
Affected version(s) =2.6.0 <2.6.1Fix Suggestion:
Update to version 2.6.1tensorflow (PYTHON):
Affected version(s) >=0.11.0rc2 <2.4.4Fix Suggestion:
Update to version 2.4.4tensorflow-gpu (PYTHON):
Affected version(s) =2.6.0 <2.6.1Fix Suggestion:
Update to version 2.6.1tensorflow-gpu (PYTHON):
Affected version(s) >=0.12.0rc0 <2.4.4Fix Suggestion:
Update to version 2.4.4tensorflow-gpu (PYTHON):
Affected version(s) >=2.5.0 <2.5.2Fix Suggestion:
Update to version 2.5.2tensorflow-cpu (PYTHON):
Affected version(s) >=2.5.0 <2.5.2Fix Suggestion:
Update to version 2.5.2tensorflow-cpu (PYTHON):
Affected version(s) =2.6.0 <2.6.1Fix Suggestion:
Update to version 2.6.1Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
8.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
CVSS v2
Base Score:
4.6
Access Vector
LOCAL
Access Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
EPSS
Base Score:
0.01