Skip to content
MediumVulnerability

CVE-2022-41880: TensorFlow heap out-of-bounds read in BaseCandidateSamplerOp

Identifier
CVE-2022-41880
Published
Record updated
View JSON
Affected
  • tensorflow >= 2.10.0, < 2.10.1
  • tensorflow-cpu >= 2.10.0, < 2.10.1
  • tensorflow-gpu >= 2.10.0, < 2.10.1
  • and 6 more
Fixed in
2.10.1
  • tensorflow 2.10.1 released November 16, 2022, 3 days before disclosure
  • tensorflow-cpu 2.10.1 released November 16, 2022, 3 days before disclosure
  • tensorflow-gpu 2.10.1 released November 16, 2022, 3 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

CVE-2022-41880 affects TensorFlow. When the `BaseCandidateSamplerOp` function receives a value in `true_classes` larger than `range_max`, a heap out-of-bounds read occurs. The source lists TensorFlow 2.11, 2.10.1, 2.9.3 and 2.8.4 as affected.

Mitigation

The issue is patched in GitHub commit b389f5c944cadfdfe599b3f1e4026e036f30d2d4. The fix will be included in TensorFlow 2.11, and the commit will be cherry-picked to TensorFlow 2.10.1, 2.9.3 and 2.8.4.