Vulnerability · Published Nov 18, 2022 · Assigned by GitHub_M

CVE-2022-41900FractionalMaxPool and FractionalAVGPool heap out-of-bounds acess in Tensorflow

High 7.1

In plain English

A high-severity out-of-bounds write in tensorflow from tensorflow. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.1High
Exploit odds (30 days)0.7%top 48.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

TensorFlow is an open source platform for machine learning. The security vulnerability results in FractionalMax(AVG)Pool with illegal pooling_ratio. Attackers using Tensorflow can exploit the vulnerability. They can access heap memory which is not in the control of user, leading to a crash or remote code execution. We have patched the issue in GitHub commit 216525144ee7c910296f5b05d214ca1327c9ce48. The fix will be included in TensorFlow 2.11.0. We will also cherry pick this commit on TensorFlow 2.10.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPItensorflow2.8.4GHSA-xvwp-h6jv-7472
PyPItensorflow2.10.1GHSA-xvwp-h6jv-7472
PyPItensorflow2.10.1, 2.8.4, 2.9.3PYSEC-2026-3261
PyPItensorflow2.9.3GHSA-xvwp-h6jv-7472
PyPItensorflow-cpu2.10.1, 2.8.4, 2.9.3PYSEC-2026-3383
PyPItensorflow-cpu2.8.4GHSA-xvwp-h6jv-7472
PyPItensorflow-cpu2.9.3GHSA-xvwp-h6jv-7472
PyPItensorflow-cpu2.10.1GHSA-xvwp-h6jv-7472
PyPItensorflow-gpu2.10.1GHSA-xvwp-h6jv-7472
PyPItensorflow-gpu2.10.1, 2.8.4, 2.9.3PYSEC-2026-1049
PyPItensorflow-gpu2.9.3GHSA-xvwp-h6jv-7472
PyPItensorflow-gpu2.8.4GHSA-xvwp-h6jv-7472

Affected products (as reported)

VendorProductVersions
tensorflow tensorflow >= 2.10.0, < 2.10.1>= 2.9.0, < 2.9.3< 2.8.4

Weakness: CWE-787, CWE-125 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

References