Skip to content
MediumVulnerability

CVE-2022-41895: TensorFlow heap out-of-bounds error in MirrorPadGrad via outsize paddings input

Identifier
CVE-2022-41895
Published
Record updated
View JSON
Affected
  • tensorflow < 2.8.4, fixed in 2.8.4
  • tensorflow >= 2.9.0, < 2.9.3, fixed in 2.9.3
  • tensorflow >= 2.10.0, < 2.10.1, fixed in 2.10.1
  • and 6 more
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.5%

Summary

CVE-2022-41895 affects TensorFlow's `MirrorPadGrad` operation. When it receives oversized `paddings` input, TensorFlow produces a heap out-of-bounds error, classified as CWE-125. The issue is patched in GitHub commit 717ca98d8c3bba348ff62281fdf38dcb5ea1ec92, which will ship in TensorFlow 2.11, and the commit is also being cherry-picked to 2.10.1, 2.9.3 and 2.8.4.

Mitigation

Patched in GitHub commit 717ca98d8c3bba348ff62281fdf38dcb5ea1ec92, included in TensorFlow 2.11; the same commit is being cherry-picked to TensorFlow 2.10.1, 2.9.3 and 2.8.4.