
Cloud Vulnerability DB
A community-led vulnerabilities database
TensorFlow, an open source platform for machine learning, was found to contain a vulnerability (CVE-2022-41895) where if MirrorPadGrad is given outsize input paddings, it results in a heap out-of-bounds (OOB) error. The vulnerability was discovered by Yu Tian from Qihoo 360 AIVul Team and was patched in TensorFlow versions 2.8.4, 2.9.3, 2.10.1, and 2.11.0 (GitHub Advisory).
The vulnerability exists in the MirrorPadGrad operation of TensorFlow. When the operation receives paddings input that exceeds the expected size, it triggers a heap out-of-bounds error. The issue can be reproduced using the following code: tf.raw_ops.MirrorPadGrad(input=[1], paddings=[[0x77f00000,0xa000000]], mode = 'REFLECT'). The fix was implemented in GitHub commit 717ca98d8c3bba348ff62281fdf38dcb5ea1ec92, which added missing requirements on inputs for the MirrorPadGrad operation and updated arithmetic to account for int32 padding values (GitHub Commit).
The vulnerability could lead to heap out-of-bounds errors when processing certain inputs in TensorFlow applications. This could potentially result in program crashes or denial of service conditions (GitHub Advisory).
Users should upgrade to the patched versions: TensorFlow 2.11.0, 2.10.1, 2.9.3, or 2.8.4. The fix has been implemented across all supported versions of TensorFlow (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."