pypi package report

Is tensorflow-cpu safe?

130 known vulnerabilities, worst severity HIGH.

// reach

33 direct dependencies

6 carry known advisories, worst CRITICAL

8 packages depend on it

an advisory here reaches each of them

  • atomate2
  • deepmd-kit
Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

No published models are known to use this package.


cvss
6.5
medium

CVSS v3.1 base score out of 10; GitHub rates it HIGH

epss
0.79%
medium

chance of exploitation in 30 days, 56th percentile of all CVEs

xyz score
4.0
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-34f9-hjfq-rr8j, the advisory selected below

// 130 advisories

GHSA-34f9-hjfq-rr8j

HIGHGitHub ratingCVE-2022-21729
// impact

The implementation of UnravelIndex is vulnerable to a division by zero caused by an integer overflow bug:

import tensorflow as tf

tf.raw_ops.UnravelIndex(indices=-0x100000,dims=[0x100000,0x100000])
// patches

We have patched the issue in GitHub commit 58b34c6c8250983948b5a781b426f6aa01fd47af.

The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

// for more information

Please consult our security guide for more information regarding the security model and how to contact us with issues and questions.

// attribution

This vulnerability has been reported by Yu Tian of Qihoo 360 AIVul Team.

// cvss v3.1 vector

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

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Checked 2026-11-07 at 02:52 UTC. The most recent advisory here was published 2022-11-21. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.