cve.bz

CVE-2022-23589

6.5 mediumEPSS 1.1%

Medium (6.5) in google tensorflow. EPSS 1.1% chance of exploitation in the next 30 days. Fixed in tensorflow 2.5.3, 2.6.3, 2.7.1.

Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, Grappler component of TensorFlow can trigger a null pointer dereference. There are 2 places where this can occur, for the same malicious alteration of a `SavedModel` file (fixing the first one would trigger the same dereference in the second place). First, during constant folding, the `GraphDef` might not have the required nodes for the binary operation. If a node is missing, the correposning `mul_*child` would be null, and the dereference in the subsequent line would be incorrect. We have a similar issue during `IsIdentityConsumingSwitch`. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.1% chance of exploitation in the next 30 days; higher than 65% of CVEs (scores of 2026-10-31)
CWE
CWE-476
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9px9-73fg-3fqpPyPItensorflow<2.5.32.5.3
GHSA-9px9-73fg-3fqpPyPItensorflow>=2.6.0 <2.6.32.6.3
GHSA-9px9-73fg-3fqpPyPItensorflow>=2.7.0 <2.7.12.7.1
GHSA-9px9-73fg-3fqpPyPItensorflow-cpu<2.5.32.5.3
GHSA-9px9-73fg-3fqpPyPItensorflow-cpu>=2.6.0 <2.6.32.6.3
GHSA-9px9-73fg-3fqpPyPItensorflow-cpu>=2.7.0 <2.7.12.7.1
GHSA-9px9-73fg-3fqpPyPItensorflow-gpu<2.5.32.5.3
GHSA-9px9-73fg-3fqpPyPItensorflow-gpu>=2.6.0 <2.6.32.6.3
GHSA-9px9-73fg-3fqpPyPItensorflow-gpu>=2.7.0 <2.7.12.7.1
PYSEC-2022-153PyPItensorflow-gpu<2.5.3
>=2.6.0 <2.6.3
2.5.3, 2.6.3
PYSEC-2022-98PyPItensorflow-cpu<2.5.3
>=2.6.0 <2.6.3
2.5.3, 2.6.3
PYSEC-2026-3154PyPItensorflow<2.5.3
>=2.6.0 <2.6.3
>=2.7.0 <2.7.1
2.5.3, 2.6.3, 2.7.1

References

Check your stackJSON