{"data":{"id":"0c06886e-5c74-456f-827a-f3e6ff43c0de","title":"CVE-2020-15213: In TensorFlow Lite before versions 2.2.1 and 2.3.1, models using segment sum can trigger a denial of service by causing…","summary":"TensorFlow Lite versions before 2.2.1 and 2.3.1 are affected by CVE-2020-15213. Models that use segment sum can trigger an out of memory allocation, causing a denial of service. The output tensor's dimensionality is taken from the last element of the segment ids tensor, so an attacker can supply a very large value to force a large allocation.","solution":"Fixed in commit 204945b19e44b57906c9344c0d00120eeeae178a, released in TensorFlow 2.2.1 and 2.3.1. A potential workaround is a custom `Verifier` that limits the maximum value in the segment ids tensor, which only covers segment ids stored statically in the model. If segment ids are generated as outputs of a tensor during inference, no workaround is possible and users are advised to upgrade to patched code.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2020-15213","publishedAt":"2020-09-25T23:15:16.603Z","cveId":"CVE-2020-15213","cweIds":["CWE-119","CWE-770","CWE-770"],"cvssScore":"4","cvssSeverity":"medium","severity":"medium","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":["tensorflow@= 2.2.0 (fixed: 2.2.1)","tensorflow@= 2.3.0 (fixed: 2.3.1)","tensorflow-cpu@= 2.2.0 (fixed: 2.2.1)","tensorflow-cpu@= 2.3.0 (fixed: 2.3.1)","tensorflow-gpu@= 2.2.0 (fixed: 2.2.1)","tensorflow-gpu@= 2.3.0 (fixed: 2.3.1)"],"affectedPackageNames":["tensorflow","tensorflow-cpu","tensorflow-gpu"],"affectedPackageRefs":["pypi:tensorflow","pypi:tensorflow-cpu","pypi:tensorflow-gpu"],"affectedVendors":["Google"],"affectedVendorsRaw":["TensorFlow Lite"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"TensorFlow Lite denial of service through segment sum models","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.0076,"epssCheckedAt":"2026-11-04T18:09:13.788Z","kevDateAdded":null,"advisoryAliases":["GHSA-hjmq-236j-8m87"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T04:00:54.257Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2020-09-24T19:03:23.545Z","daysToFix":-1,"fixCheckedAt":"2026-10-29T21:52:34.607Z","capecIds":["CAPEC-100","CAPEC-130"],"crossRefCount":0,"attackSophistication":"trivial","impactType":["availability"],"aiComponentTargeted":"inference","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.2.1","matchedVersion":"2.2.1","fixReleasedAt":"2020-09-24T19:03:23.545Z","daysToFix":-1,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:52:34.453Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.3.1","matchedVersion":"2.3.1","fixReleasedAt":"2020-09-24T19:32:56.435Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:34.453Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.2.1","matchedVersion":"2.2.1","fixReleasedAt":"2020-09-24T19:11:29.089Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:34.453Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.3.1","matchedVersion":"2.3.1","fixReleasedAt":"2020-09-24T19:29:12.073Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:34.453Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.2.1","matchedVersion":"2.2.1","fixReleasedAt":"2020-09-24T19:16:14.398Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:34.453Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.3.1","matchedVersion":"2.3.1","fixReleasedAt":"2020-09-24T19:23:11.978Z","daysToFix":-1,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:52:34.453Z"}]}}