Skip to content
MediumVulnerability

CVE-2022-41896: TensorFlow crash in ThreadUnsafeUnigramCandidateSampler via oversized

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

Summary

CVE-2022-41896 is a flaw in TensorFlow's `ThreadUnsafeUnigramCandidateSampler`. When given a `filterbank_channel_count` input larger than the allowed maximum size, TensorFlow crashes. The source says the affected versions are 2.10.1, 2.9.3 and 2.8.4, as well as the TensorFlow line that the fix lands in.

Mitigation

The issue is patched in GitHub commit 39ec7eaf1428e90c37787e5b3fbd68ebd3c48860. The fix will be included in TensorFlow 2.11, and the commit will also be cherrypicked onto TensorFlow 2.10.1, 2.9.3 and 2.8.4.