Skip to content
HighVulnerability

CVE-2023-25801: TensorFlow fractional pooling ops accept unsupported pooling ratios

Identifier
CVE-2023-25801
Published
Record updated
View JSON
Affected
  • tensorflow < 2.11.1
  • tensorflow-cpu < 2.11.1
  • tensorflow-gpu < 2.11.1
Fixed in
2.11.1
  • tensorflow 2.11.1 released March 20, 2023, 5 days before disclosure
  • tensorflow-cpu 2.11.1 released March 20, 2023, 5 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.1%

Summary

CVE-2023-25801 affects TensorFlow prior to versions 2.12.0 and 2.11.1. The functions nn_ops.fractional_avg_pool_v2 and nn_ops.fractional_max_pool_v2 require the first and fourth elements of pooling_ratio to equal 1.0, because pooling on batch and channel dimensions is not supported. The weakness is classified as CWE-415, Double Free.

Mitigation

A fix is included in TensorFlow 2.12.0 and 2.11.1.