{"id":"CVE-2020-15206","published":"2020-09-25T18:45:51Z","modified":"2024-08-04T13:08:22Z","title":"Denial of Service in Tensorflow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00956,"percentile":0.62274,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-w5gh-2wr2-pm6g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/adf095206f25471e864a8e63a0f1caef53a0e3a6","tags":["x_refsource_MISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":12.45},{"name":"CVSS severity","points":6.3}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 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"]}],"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<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"],"patched":["1.15.4","2.0.3","2.1.2","2.2.1","2.3.1"],"from":["GHSA-w5gh-2wr2-pm6g","PYSEC-2020-129"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<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"],"patched":["1.15.4","2.0.3","2.1.2","2.2.1","2.3.1"],"from":["GHSA-w5gh-2wr2-pm6g","PYSEC-2020-286"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<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"],"patched":["1.15.4","2.0.3","2.1.2","2.2.1","2.3.1"],"from":["GHSA-w5gh-2wr2-pm6g","PYSEC-2020-321"],"provenance":"source"}],"summary":{"text":"The flaw lies in TensorFlow's handling of SavedModel protocol buffers: altering the protocol buffer and renaming required keys can cause segfaults and data corruption while the model loads. An unauthenticated remote attacker who can supply a crafted SavedModel to a deployment that loads it, such as one using tensorflow-serving or another inference-as-a-service installation, could trigger a denial of service, and the attack is noted as requiring high attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:40Z"},"euvd":{"id":"EUVD-2020-0202","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tensorflow-cve-2020-15206","children":[{"from":"CVE-2020-15206","to":"CVE-2022-23591","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["tensorflow/cc/saved_model/loader.cc"],"commits":["https://github.com/tensorflow/tensorflow/commit/adf095206f25471e864a8e63a0f1caef53a0e3a6","https://github.com/tensorflow/tensorflow/commit/f760f88b4267d981e13f4b302c437ae800445968","https://github.com/tensorflow/tensorflow/commit/448a16182065bd08a202d9057dd8ca541e67996c"],"basis":"rarely changed file"}]}]}}