Vulnerability Details : CVE-2022-29208
Potential exploit
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 implementation of `tf.raw_ops.EditDistance` has incomplete validation. Users can pass negative values to cause a segmentation fault based denial of service. In multiple places throughout the code, one may compute an index for a write operation. However, the existing validation only checks against the upper bound of the array. Hence, it is possible to write before the array by massaging the input to generate negative values for `loc`. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2022-29208
- cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:2.7.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:2.8.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:2.8.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:2.9.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:2.9.0:rc0:*:*:*:*:*:*
- cpe:2.3:a:google:tensorflow:2.8.0:-:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-29208
0.14%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 31 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-29208
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.6
|
LOW | AV:L/AC:L/Au:N/C:N/I:P/A:P |
3.9
|
4.9
|
NIST | |
7.1
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
1.8
|
5.2
|
NIST | |
7.1
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
1.8
|
5.2
|
GitHub, Inc. |
CWE ids for CVE-2022-29208
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-29208
-
https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4
Release TensorFlow 2.6.4 · tensorflow/tensorflow · GitHubRelease Notes;Third Party Advisory
-
https://github.com/tensorflow/tensorflow/commit/30721cf564cb029d34535446d6a5a6357bebc8e7
Fix tf.raw_ops.EditDistance vulnerability with negative indices. · tensorflow/tensorflow@30721cf · GitHubPatch;Third Party Advisory
-
https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2
Release TensorFlow 2.7.2 · tensorflow/tensorflow · GitHubRelease Notes;Third Party Advisory
-
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-2r2f-g8mw-9gvr
Segfault and OOB write due to incomplete validation in `EditDistance` · Advisory · tensorflow/tensorflow · GitHubExploit;Patch;Third Party Advisory
-
https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0
Release TensorFlow 2.9.0 · tensorflow/tensorflow · GitHubRelease Notes;Third Party Advisory
-
https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1
Release TensorFlow 2.8.1 · tensorflow/tensorflow · GitHubRelease Notes;Third Party Advisory
Jump to