Loading HuntDB...

CVE-2022-23560

HIGH
Published 2022-02-04T22:32:36.000Z
Actions:

Expert Analysis

Professional remediation guidance

Get tailored security recommendations from our analyst team for CVE-2022-23560. We'll provide specific mitigation strategies based on your environment and risk profile.

CVSS Score

V3.1
8.8
/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Base Score Metrics
Exploitability: N/A Impact: N/A

EPSS Score

v2025.03.14
0.003
probability
of exploitation in the wild

There is a 0.3% chance that this vulnerability will be exploited in the wild within the next 30 days.

Updated: 2025-06-25
Exploit Probability
Percentile: 0.510
Higher than 51.0% of all CVEs

Attack Vector Metrics

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED

Impact Metrics

Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Description

Tensorflow is an Open Source Machine Learning Framework. An attacker can craft a TFLite model that would allow limited reads and writes outside of arrays in TFLite. This exploits missing validation in the conversion from sparse tensors to dense tensors. The fix is 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. Users are advised to upgrade as soon as possible.

Available Exploits

No exploits available for this CVE.

Related News

No news articles found for this CVE.

Affected Products

GitHub Security Advisories

Community-driven vulnerability intelligence from GitHub

✓ GitHub Reviewed HIGH

Read and Write outside of bounds in TensorFlow

GHSA-4hvf-hxvg-f67v

Advisory Details

### Impact An attacker can craft a TFLite model that would allow limited reads and writes outside of arrays in TFLite. This exploits missing validation in [the conversion from sparse tensors to dense tensors](https://github.com/tensorflow/tensorflow/blob/ca6f96b62ad84207fbec580404eaa7dd7403a550/tensorflow/lite/kernels/internal/utils/sparsity_format_converter.cc#L252-L293). ### Patches We have patched the issue in GitHub commit [6364463d6f5b6254cac3d6aedf999b6a96225038](https://github.com/tensorflow/tensorflow/commit/6364463d6f5b6254cac3d6aedf999b6a96225038). 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](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) for more information regarding the security model and how to contact us with issues and questions. ### Attribution This vulnerability has been reported by Wang Xuan of Qihoo 360 AIVul Team.

Affected Packages

PyPI tensorflow
ECOSYSTEM: ≥0 <2.5.3
PyPI tensorflow
ECOSYSTEM: ≥2.6.0 <2.6.3
PyPI tensorflow
ECOSYSTEM: ≥2.7.0 <2.7.1
PyPI tensorflow-cpu
ECOSYSTEM: ≥0 <2.5.3
PyPI tensorflow-cpu
ECOSYSTEM: ≥2.6.0 <2.6.3
PyPI tensorflow-cpu
ECOSYSTEM: ≥2.7.0 <2.7.1
PyPI tensorflow-gpu
ECOSYSTEM: ≥0 <2.5.3
PyPI tensorflow-gpu
ECOSYSTEM: ≥2.6.0 <2.6.3
PyPI tensorflow-gpu
ECOSYSTEM: ≥2.7.0 <2.7.1

CVSS Scoring

CVSS Score

7.5

CVSS Vector

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

Advisory provided by GitHub Security Advisory Database. Published: February 9, 2022, Modified: November 13, 2024

References

Published: 2022-02-04T22:32:36.000Z
Last Modified: 2025-04-22T18:23:30.365Z
Copied to clipboard!