CVE-2023-27579:
TensorFlow has Floating Point Exception in TFLite in conv kernel
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.34082%
CWE
Published
3/24/2023
Updated
3/30/2023
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
tensorflow | pip | < 2.11.1 | 2.11.1 |
tensorflow-cpu | pip | < 2.11.1 | 2.11.1 |
tensorflow-gpu | pip | < 2.11.1 | 2.11.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the missing validation of 'filter_input_channel' in the convolution kernel's Prepare function. The commit diff explicitly adds a 'TF_LITE_ENSURE(context, filter_input_channel > 0)' check to this function, confirming this was the vulnerable location. The FPE occurs during the groups calculation when filter_input_channel ≤ 0, which is directly addressed by this patch.