Discover the impact of CVE-2022-35941, a medium severity vulnerability in TensorFlow's `AvgPoolOp` function. Learn about affected versions and mitigation steps.
A
CHECK
failure in the AvgPoolOp
function in TensorFlow has been identified and assigned CVE-2022-35941. This article provides an overview of the vulnerability and its impact, along with mitigation strategies.
Understanding CVE-2022-35941
This section delves into the specifics of the vulnerability found in the
AvgPoolOp
function of TensorFlow.
What is CVE-2022-35941?
TensorFlow, an open-source machine learning platform, is affected by a vulnerability in the
AvgPoolOp
function. The issue arises from the lack of validation on the ksize
argument, allowing for negative values that can trigger a CHECK
failure.
The Impact of CVE-2022-35941
The vulnerability poses a medium severity risk with a CVSS base score of 5.9. Attackers can exploit this issue to cause a program crash, leading to a denial of service. It affects TensorFlow versions prior to 2.7.2, between 2.8.0 and 2.8.1, and between 2.9.0 and 2.9.1.
Technical Details of CVE-2022-35941
Explore the technical aspects related to CVE-2022-35941 in this section.
Vulnerability Description
The vulnerability in the
AvgPoolOp
function allows for unchecked negative ksize
values, leading to a CHECK
failure and potential program crashes.
Affected Systems and Versions
TensorFlow versions prior to 2.7.2, 2.8.0 to 2.8.1, and 2.9.0 to 2.9.1 are impacted by this vulnerability.
Exploitation Mechanism
The vulnerability can be exploited by providing a negative
ksize
argument to the AvgPoolOp
function, triggering the CHECK
failure.
Mitigation and Prevention
To secure systems against CVE-2022-35941, follow the mitigation strategies outlined below.
Immediate Steps to Take
Users are urged to update TensorFlow to versions 2.7.2, 2.8.1, 2.9.1, or newer to address the vulnerability. Additionally, monitoring for any unexpected crashes is advised.
Long-Term Security Practices
Practicing secure coding habits, performing regular security assessments, and staying informed about software patches are essential for long-term security.
Patching and Updates
It is crucial to apply the provided patches and updates by TensorFlow to fix the
CHECK
failure in the AvgPoolOp
function.