CVE-2020-15206 json
Denial of Service in Tensorflow
published 2020-09-25 6 y ago modified 2026-09-10 59 d ago also BIT-tensorflow-2020-15206 , EUVD-2020-0202 , GHSA-w5gh-2wr2-pm6g , PYSEC-2020-129 , PYSEC-2020-286 , PYSEC-2020-321
- cvss
- 9.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
In Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, changing the TensorFlow's `SavedModel` protocol buffer and altering the name of required keys results in segfaults and data corruption while loading the model. This can cause a denial of service in products using `tensorflow-serving` or other inference-as-a-service installments. Fixed were added in commits f760f88b4267d981e13f4b302c437ae800445968 and fcfef195637c6e365577829c4d67681695956e7d (both going into TensorFlow 2.2.0 and 2.3.0 but not yet backported to earlier versions). However, this was not enough, as #41097 reports a different failure mode. The issue is patched in commit adf095206f25471e864a8e63a0f1caef53a0e3a6, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.
Patch / fix
- pypi tensorflow 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
- pypi tensorflow-cpu 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
- pypi tensorflow-gpu 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
- bitnami tensorflow 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
- google tensorflow 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1
- tensorflow2 openSUSE Leap 15.2 2.1.2-lp152.7.3.1
- tensorflow2-lite openSUSE Leap 15.2 2.1.2-lp152.7.3.1
- tensorflow2_2_1_2-gnu-hpc openSUSE Leap 15.2 2.1.2-lp152.7.3.1
- tensorflow2_2_1_2-gnu-openmpi2-hpc openSUSE Leap 15.2 2.1.2-lp152.7.3.1
opensuse advisories openSUSE-SU-2020:1766-1
Exploit prediction
0.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/tensorflow/tensorflow/security/advisories/GHSA-w5gh-2wr2-pm6g referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | tensorflow | <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 |
| pypi | tensorflow-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 |
| pypi | tensorflow-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 |
| bitnami | tensorflow | <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 |
Affected products
- tensorflow tensorflow
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/tensorflow/tensorflow/commit/adf095206f25471e864a8e63a0f1caef53a0e3a6
web, patch, third-party-advisory, vendor-advisory, advisory
-
github.com
/tensorflow/tensorflow/commit/f760f88b4267d981e13f4b302c437ae800445968
web
-
github.com
/tensorflow/tensorflow/commit/fcfef195637c6e365577829c4d67681695956e7d
web
-
github.com
/tensorflow/tensorflow/security/advisories/GHSA-w5gh-2wr2-pm6g
web, exploit, third-party-advisory, advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-10/msg00065.html
vendor-advisory, web, mailing-list, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/releases/tag/v2.3.1
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-15206
advisory, web
-
github.com
/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-286.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-321.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-129.yaml
web
-
github.com
/tensorflow/tensorflow
package
Sources
- CVE List CVE-2020-15206
- GitHub Advisory GHSA-w5gh-2wr2-pm6g
- NVD CVE-2020-15206
- OSV BIT-tensorflow-2020-15206
- OSV PYSEC-2020-129
- OSV PYSEC-2020-286
- OSV PYSEC-2020-321
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.