cve.bz

CVE-2020-15207

9.0 criticalEPSS 1.2%

Critical (9.0). EPSS 1.2% chance of exploitation in the next 30 days. Fixed in tensorflow 1.15.4, 2.0.3, 2.1.2.

In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, to mimic Python's indexing with negative values, TFLite uses `ResolveAxis` to convert negative values to positive indices. However, the only check that the converted index is now valid is only present in debug builds. If the `DCHECK` does not trigger, then code execution moves ahead with a negative index. This, in turn, results in accessing data out of bounds which results in segfaults and/or data corruption. The issue is patched in commit 2d88f470dea2671b430884260f3626b1fe99830a, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.

Severity

CVSS 3.1

9.0 critical
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
1.2% chance of exploitation in the next 30 days; higher than 69% of CVEs (scores of 2026-10-31)
CWEs
CWE-787, CWE-119
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q4qf-3fc6-8x34PyPItensorflow<1.15.41.15.4
GHSA-q4qf-3fc6-8x34PyPItensorflow>=2.0.0 <2.0.32.0.3
GHSA-q4qf-3fc6-8x34PyPItensorflow>=2.1.0 <2.1.22.1.2
GHSA-q4qf-3fc6-8x34PyPItensorflow>=2.2.0 <2.2.12.2.1
GHSA-q4qf-3fc6-8x34PyPItensorflow>=2.3.0 <2.3.12.3.1
GHSA-q4qf-3fc6-8x34PyPItensorflow-cpu<1.15.41.15.4
GHSA-q4qf-3fc6-8x34PyPItensorflow-cpu>=2.0.0 <2.0.32.0.3
GHSA-q4qf-3fc6-8x34PyPItensorflow-cpu>=2.1.0 <2.1.22.1.2
GHSA-q4qf-3fc6-8x34PyPItensorflow-cpu>=2.2.0 <2.2.12.2.1
GHSA-q4qf-3fc6-8x34PyPItensorflow-cpu>=2.3.0 <2.3.12.3.1
GHSA-q4qf-3fc6-8x34PyPItensorflow-gpu<1.15.41.15.4
GHSA-q4qf-3fc6-8x34PyPItensorflow-gpu>=2.0.0 <2.0.32.0.3
GHSA-q4qf-3fc6-8x34PyPItensorflow-gpu>=2.1.0 <2.1.22.1.2
GHSA-q4qf-3fc6-8x34PyPItensorflow-gpu>=2.2.0 <2.2.12.2.1
GHSA-q4qf-3fc6-8x34PyPItensorflow-gpu>=2.3.0 <2.3.12.3.1
PYSEC-2020-130PyPItensorflow<1.15.4
>=2.0.0 <2.0.3
>=2.1.0 <2.1.2
>=2.2.0 <2.2.1
>=2.3.0 <2.3.1
1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
PYSEC-2020-287PyPItensorflow-cpu<1.15.4
>=2.0.0 <2.0.3
>=2.1.0 <2.1.2
>=2.2.0 <2.2.1
>=2.3.0 <2.3.1
1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
PYSEC-2020-322PyPItensorflow-gpu<1.15.4
>=2.0.0 <2.0.3
>=2.1.0 <2.1.2
>=2.2.0 <2.2.1
>=2.3.0 <2.3.1
1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1

References

Check your stackJSON