Google · Tensorflow · CVE-2023-25801
**Name of the Vulnerable Software and Affected Versions**
TensorFlow versions prior to 2.12.0 and 2.11.1
**Description**
The issue concerns the `nn ops.fractional avg pool v2` and `nn ops.fractional max pool v2` functions, which require the first and fourth elements of their `pooling ratio` parameter to be equal to 1.0, as pooling on batch and channel dimensions is not supported.
**Recommendations**
For versions prior to 2.12.0, update to version 2.12.0 to resolve the issue.
For versions prior to 2.11.1, update to version 2.11.1 to resolve the issue.
As a temporary workaround, consider restricting the use of the `nn ops.fractional avg pool v2` and `nn ops.fractional max pool v2` functions until a patch is available, by ensuring the first and fourth elements of the `pooling ratio` parameter are set to 1.0.