Skip to content
MediumVulnerability

CVE-2022-41889: TensorFlow null pointer dereference in quantized tensor list assignment

Identifier
CVE-2022-41889
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

TensorFlow fails to catch a null pointer when a list of quantized tensors is assigned to an attribute. The pywrap code cannot parse the tensor and returns a `nullptr`. The example given is `tf.compat.v1.extract_volume_patches` when quantized tensors are passed as the `ksizes` input.

Mitigation

Patched in GitHub commit e9e95553e5411834d215e6770c81a83a3d0866ce. The fix will be included in TensorFlow 2.11, and the commit will be cherrypicked onto TensorFlow 2.10.1, 2.9.3, and 2.8.4, which are also affected and still in supported range.