CVE-2022-29213: TensorFlow: input validation DoS in FFT signal ops

MEDIUM PoC AVAILABLE CISA: TRACK*
Published May 21, 2022
CISO Take

Low operational risk — local-only DoS in TensorFlow's rfft2d/rfft3d signal functions, no confidentiality or integrity impact. Patches have been available since May 2022 across TF 2.6.4, 2.7.2, 2.8.1, and 2.9.0. Prioritize upgrade only if ML teams are running unpatched TensorFlow in shared compute environments where crashes could disrupt training pipelines or model serving.

What is the risk?

Low-medium operational risk. Local access required limits exploitation to insider threats, compromised developer machines, or multi-tenant shared compute environments (Jupyter hubs, ML platforms). No confidentiality or integrity impact — availability only. Not in CISA KEV with no evidence of active exploitation. Organizations running TF ≥2.6.4, ≥2.7.2, ≥2.8.1, or ≥2.9.0 are fully remediated. CVSS 5.5 appropriately reflects the constrained attack surface.

What systems are affected?

Package Ecosystem Vulnerable Range Patched
TensorFlow pip No patch
195.8K OpenSSF 7.1 3.7K dependents Pushed 2d ago 4% patched ~1372d to patch Full package profile →

Do you use TensorFlow? You're affected.

How severe is it?

CVSS 3.1
5.5 / 10
EPSS
0.3%
chance of exploitation in 30 days
Higher than 22% of all CVEs
Exploitation Status
Exploit Available
Exploitation: MEDIUM
Sophistication
Trivial
Exploitation Confidence
medium
CISA SSVC: Public PoC
Public PoC indexed (trickest/cve)
Composite signal derived from CISA KEV, VulnCheck KEV, CISA SSVC, EPSS, Metasploit, Exploit-DB, trickest/cve, Nuclei templates, and inthewild.io exploitation reports.

What is the attack surface?

AV AC PR UI S C I A
AV Local
AC Low
PR Low
UI None
S Unchanged
C None
I None
A High

What should I do?

5 steps
  1. Patch: Upgrade TensorFlow to ≥2.6.4, ≥2.7.2, ≥2.8.1, or ≥2.9.0 — patches released May 2022.

  2. Audit: Search codebase for tf.compat.v1.signal.rfft2d and tf.compat.v1.signal.rfft3d usage.

  3. Compensating control: Add explicit tensor shape validation before passing inputs to these functions in untrusted-input scenarios.

  4. Detection: Monitor for unexpected TF process crashes in ML infrastructure and alert on abnormal termination patterns.

  5. Isolation: Run training jobs in isolated containers to contain blast radius of crashes in shared environments.

What does CISA's SSVC say?

Decision Track*
Exploitation poc
Automatable No
Technical Impact partial

Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.

How is it classified?

Which compliance frameworks are affected?

This CVE is relevant to:

EU AI Act
Article 15 - Accuracy, Robustness and Cybersecurity
ISO 42001
A.8.4 - AI System Lifecycle — Vulnerability Management
NIST AI RMF
MANAGE 2.2 - AI Risk Treatment — Incident and Vulnerability Response
OWASP LLM Top 10
LLM10:2025 - Unbounded Consumption

Frequently Asked Questions

What is CVE-2022-29213?

Low operational risk — local-only DoS in TensorFlow's rfft2d/rfft3d signal functions, no confidentiality or integrity impact. Patches have been available since May 2022 across TF 2.6.4, 2.7.2, 2.8.1, and 2.9.0. Prioritize upgrade only if ML teams are running unpatched TensorFlow in shared compute environments where crashes could disrupt training pipelines or model serving.

Is CVE-2022-29213 actively exploited?

Proof-of-concept exploit code is publicly available for CVE-2022-29213, increasing the risk of exploitation.

How to fix CVE-2022-29213?

1. Patch: Upgrade TensorFlow to ≥2.6.4, ≥2.7.2, ≥2.8.1, or ≥2.9.0 — patches released May 2022. 2. Audit: Search codebase for tf.compat.v1.signal.rfft2d and tf.compat.v1.signal.rfft3d usage. 3. Compensating control: Add explicit tensor shape validation before passing inputs to these functions in untrusted-input scenarios. 4. Detection: Monitor for unexpected TF process crashes in ML infrastructure and alert on abnormal termination patterns. 5. Isolation: Run training jobs in isolated containers to contain blast radius of crashes in shared environments.

What systems are affected by CVE-2022-29213?

This vulnerability affects the following AI/ML architecture patterns: training pipelines, model serving, research notebooks, shared ML compute.

What is the CVSS score for CVE-2022-29213?

CVE-2022-29213 has a CVSS v3.1 base score of 5.5 (MEDIUM). The EPSS exploitation probability is 0.31%.

What is the AI security impact?

Affected AI Architectures

training pipelinesmodel servingresearch notebooksshared ML compute

MITRE ATLAS Techniques

AML.T0010.001 AI Software
AML.T0029 Denial of AI Service
AML.T0043 Craft Adversarial Data

Compliance Controls Affected

EU AI Act: Article 15
ISO 42001: A.8.4
NIST AI RMF: MANAGE 2.2
OWASP LLM Top 10: LLM10:2025

What are the technical details?

Original Advisory

TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the `tf.compat.v1.signal.rfft2d` and `tf.compat.v1.signal.rfft3d` lack input validation and under certain condition can result in crashes (due to `CHECK`-failures). Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.

Exploitation Scenario

An attacker with local access to a shared ML compute environment (e.g., Jupyter Hub, shared GPU cluster) submits a crafted tensor with malformed dimensions to a model pipeline using TF's rfft2d/rfft3d operations. The missing input validation triggers a CHECK assertion failure, crashing the TensorFlow process and terminating co-located training runs. In a multi-tenant ML platform, this could be used to repeatedly sabotage competitors' training jobs or disrupt a model serving endpoint processing signal-based features — with no special ML knowledge required beyond knowing the target function signatures.

Weaknesses (CWE)

CWE-617 — Reachable Assertion: The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.

  • [Implementation] Make sensitive open/close operation non reachable by directly user-controlled data (e.g. open/close resources)
  • [Implementation] Perform input validation on user data.

Source: MITRE CWE corpus.

CVSS Vector

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

Timeline

Published
May 21, 2022
Last Modified
November 21, 2024
First Seen
May 21, 2022

Related Vulnerabilities