CVE & CISA-KEV Catalog

CVE-2021-29522

LOW
2.5
CVSS v3
NVD

Description

TensorFlow is an end-to-end open source platform for machine learning. The `tf.raw_ops.Conv3DBackprop*` operations fail to validate that the input tensors are not empty. In turn, this would result in a division by 0. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/a91bb59769f19146d5a0c20060244378e878f140/tensorflow/core/kernels/conv_grad_ops_3d.cc#L430-L450) does not check that the divisor used in computing the shard size is not zero. Thus, if attacker controls the input sizes, they can trigger a denial of service via a division by zero error. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

How to fix

Remediation Available
tensorflowNVD
Affected:>= 2.4.0, < 2.4.2Fixed in:2.4.2CVE-2021-29522derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

Exploit Intelligence

0.19%probability of exploitation in 30 days
9thpercentile

Low risk: more likely to be exploited than 9% of all known CVEs.

References

Related Vulnerabilities

Other CWE-369 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2012-0207High7.520%-Fix
CVE-2017-8537Medium5.517%--
CVE-2017-8536Medium5.517%--
CVE-2017-8535Medium5.517%--
CVE-2007-2237Medium5.515%--
CVE-2025-0317High7.513%--
Embed a live status badge for CVE-2021-29522
CVE-2021-29522 severity badge

Markdown

[![CVE-2021-29522](https://tridentstack.com/cve/badge/CVE-2021-29522.svg)](https://tridentstack.com/cve/CVE-2021-29522)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-29522"><img src="https://tridentstack.com/cve/badge/CVE-2021-29522.svg" alt="CVE-2021-29522"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.