Browse / Unsafe Model Loading and Supply Chain / CVE-2023-27579
TensorFlow has Floating Point Exception in TFLite in conv kernel
- Class
- Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
- Technique
- Denial of service
- Affected
- tensorflow-cpu, tensorflow (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.4% chance of exploitation in 30 days
How it works, in short
A crafted TFLite model with a non-positive input channel count triggers a floating-point exception during convolution kernel setup. (Our summary, written by a model. The source text is below.)
Details
Impact
Constructing a tflite model with a paramater filter_input_channel of less than 1 gives a FPE.
Patches
We have patched the issue in GitHub commit 34f8368c535253f5c9cb3a303297743b62442aaa.
The fix will be included in TensorFlow 2.12. We will also cherrypick this commit on TensorFlow 2.11.1.
For more information
Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.
Attribution
This vulnerability was reported by Wang Xuan of Qihoo 360 AIVul Team.
References
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-5w96-866f-6rm8
- https://nvd.nist.gov/vuln/detail/CVE-2023-27579
- https://github.com/tensorflow/tensorflow/commit/34f8368c535253f5c9cb3a303297743b62442aaa
- https://github.com/tensorflow/tensorflow
Source: GitHub Advisory Database, used under CC BY 4.0.