cve.bz

CVE-2020-15205

9.8 criticalEPSS 1.0%

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

In Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the `data_splits` argument of `tf.raw_ops.StringNGrams` lacks validation. This allows a user to pass values that can cause heap overflow errors and even leak contents of memory In the linked code snippet, all the binary strings after `ee ff` are contents from the memory stack. Since these can contain return addresses, this data leak can be used to defeat ASLR. The issue is patched in commit 0462de5b544ed4731aa2fb23946ac22c01856b80, 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.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.0% chance of exploitation in the next 30 days; higher than 63% of CVEs (scores of 2026-10-31)
CWEs
CWE-787, CWE-119, CWE-122
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g7p5-5759-qv46PyPItensorflow<1.15.41.15.4
GHSA-g7p5-5759-qv46PyPItensorflow>=2.0.0 <2.0.32.0.3
GHSA-g7p5-5759-qv46PyPItensorflow>=2.1.0 <2.1.22.1.2
GHSA-g7p5-5759-qv46PyPItensorflow>=2.2.0 <2.2.12.2.1
GHSA-g7p5-5759-qv46PyPItensorflow>=2.3.0 <2.3.12.3.1
GHSA-g7p5-5759-qv46PyPItensorflow-cpu<1.15.41.15.4
GHSA-g7p5-5759-qv46PyPItensorflow-cpu>=2.0.0 <2.0.32.0.3
GHSA-g7p5-5759-qv46PyPItensorflow-cpu>=2.1.0 <2.1.22.1.2
GHSA-g7p5-5759-qv46PyPItensorflow-cpu>=2.2.0 <2.2.12.2.1
GHSA-g7p5-5759-qv46PyPItensorflow-cpu>=2.3.0 <2.3.12.3.1
GHSA-g7p5-5759-qv46PyPItensorflow-gpu<1.15.41.15.4
GHSA-g7p5-5759-qv46PyPItensorflow-gpu>=2.0.0 <2.0.32.0.3
GHSA-g7p5-5759-qv46PyPItensorflow-gpu>=2.1.0 <2.1.22.1.2
GHSA-g7p5-5759-qv46PyPItensorflow-gpu>=2.2.0 <2.2.12.2.1
GHSA-g7p5-5759-qv46PyPItensorflow-gpu>=2.3.0 <2.3.12.3.1
PYSEC-2020-128PyPItensorflow<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-285PyPItensorflow-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-320PyPItensorflow-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