{"data":{"id":"ee139210-0418-4c87-9745-c06b25cc0247","title":"CVE-2021-29539: TensorFlow is an end-to-end open source platform for machine learning. Calling…","summary":"A segfault occurs when calling `tf.raw_ops.ImmutableConst` with a `dtype` of `tf.resource` or `tf.variant`, because the implementation assumes the tensor contents are pure scalars. The issue is patched in commit 4f663d4b8f0bec1b48da6fa091a7d29609980fa4 and will ship in TensorFlow 2.5.0, and nightly packages built after that commit include the fix.","solution":"Patched in commit 4f663d4b8f0bec1b48da6fa091a7d29609980fa4; fixed in TensorFlow 2.5.0 and in TensorFlow nightly packages after this commit. Workaround: insert a filter for the `dtype` argument when using `tf.raw_ops.ImmutableConst` in code.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-29539","publishedAt":"2021-05-15T00:15:12.397Z","cveId":"CVE-2021-29539","cweIds":["CWE-681"],"cvssScore":"2.5","cvssSeverity":"low","severity":"low","attackType":["denial_of_service"],"issueType":"vulnerability","affectedPackages":["tensorflow@< 2.1.4 (fixed: 2.1.4)","tensorflow@>= 2.2.0, < 2.2.3 (fixed: 2.2.3)","tensorflow@>= 2.3.0, < 2.3.3 (fixed: 2.3.3)","tensorflow@>= 2.4.0, < 2.4.2 (fixed: 2.4.2)","tensorflow-cpu@< 2.1.4 (fixed: 2.1.4)","tensorflow-cpu@>= 2.2.0, < 2.2.3 (fixed: 2.2.3)","tensorflow-cpu@>= 2.3.0, < 2.3.3 (fixed: 2.3.3)","tensorflow-cpu@>= 2.4.0, < 2.4.2 (fixed: 2.4.2)","tensorflow-gpu@< 2.1.4 (fixed: 2.1.4)","tensorflow-gpu@>= 2.2.0, < 2.2.3 (fixed: 2.2.3)","tensorflow-gpu@>= 2.3.0, < 2.3.3 (fixed: 2.3.3)","tensorflow-gpu@>= 2.4.0, < 2.4.2 (fixed: 2.4.2)"],"affectedPackageNames":["tensorflow","tensorflow-cpu","tensorflow-gpu"],"affectedPackageRefs":["pypi:tensorflow","pypi:tensorflow-cpu","pypi:tensorflow-gpu"],"affectedVendors":["Google"],"affectedVendorsRaw":["TensorFlow"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"TensorFlow ImmutableConst segfault when called with resource or variant dtype","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00189,"epssCheckedAt":"2026-11-04T00:12:27.299Z","kevDateAdded":null,"advisoryAliases":["GHSA-g4h2-gqm3-c9wq"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T04:00:32.716Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2021-06-15T21:01:30.053Z","daysToFix":31,"fixCheckedAt":"2026-10-29T21:52:03.780Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.2.3","matchedVersion":"2.2.3","fixReleasedAt":"2021-06-15T21:11:39.648Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.1.4","matchedVersion":"2.1.4","fixReleasedAt":"2021-06-15T21:03:57.218Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.3.3","matchedVersion":"2.3.3","fixReleasedAt":"2021-06-15T21:08:37.651Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"},{"ecosystem":"pypi","name":"tensorflow-gpu","fixedVersion":"2.4.2","matchedVersion":"2.4.2","fixReleasedAt":"2021-06-15T21:09:49.706Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.4.2","matchedVersion":"2.4.2","fixReleasedAt":"2021-06-15T21:05:30.770Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.1.4","matchedVersion":"2.1.4","fixReleasedAt":"2021-06-15T21:01:30.053Z","daysToFix":31,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.3.3","matchedVersion":"2.3.3","fixReleasedAt":"2021-06-15T21:03:30.442Z","daysToFix":31,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.1.4","matchedVersion":"2.1.4","fixReleasedAt":"2021-06-15T21:01:55.318Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.4.2","matchedVersion":"2.4.2","fixReleasedAt":"2021-06-15T21:03:59.541Z","daysToFix":31,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.3.3","matchedVersion":"2.3.3","fixReleasedAt":"2021-06-15T21:04:54.421Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"},{"ecosystem":"pypi","name":"tensorflow","fixedVersion":"2.2.3","matchedVersion":"2.2.3","fixReleasedAt":"2021-06-15T21:03:54.731Z","daysToFix":31,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"},{"ecosystem":"pypi","name":"tensorflow-cpu","fixedVersion":"2.2.3","matchedVersion":"2.2.3","fixReleasedAt":"2021-06-15T21:05:45.961Z","daysToFix":31,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:52:03.627Z"}]}}