
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-41880 is a heap out-of-bounds vulnerability discovered in TensorFlow, an open-source platform for machine learning. The vulnerability was identified when the BaseCandidateSamplerOp function receives a value in trueclasses larger than rangemax, leading to a heap out-of-bounds read. This security issue affects TensorFlow versions prior to 2.11.0 (GitHub Advisory).
The vulnerability occurs in the BaseCandidateSamplerOp function within TensorFlow's candidate sampler operations. When the function receives input values in trueclasses that exceed the rangemax parameter, it triggers a heap out-of-bounds read condition. This can be demonstrated using tf.raw_ops.ThreadUnsafeUnigramCandidateSampler with parameters that exceed the defined range (GitHub Advisory).
The vulnerability has been classified as Low severity. When exploited, it can lead to a heap out-of-bounds read condition, potentially causing memory corruption or program crashes. The impact is limited to scenarios where the input values in trueclasses exceed the defined rangemax parameter (GitHub Advisory).
The vulnerability has been patched in multiple TensorFlow versions. Users are recommended to upgrade to TensorFlow versions 2.8.4, 2.9.3, 2.10.1, or 2.11.0 or later. The fix was implemented in GitHub commit b389f5c944cadfdfe599b3f1e4026e036f30d2d4, which adds input validation for the true_classes parameter (GitHub Advisory).
The vulnerability was discovered and reported by Yu Tian of Qihoo 360 AIVul Team, demonstrating ongoing security research in the machine learning framework ecosystem (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."