CVE-2022-29208CWE-787

Segfault and Out-of-bounds Write write due to incomplete validation in TensorFlow

High · published May 20, 2022

CVSS v3.1
7.1
EPSS
0%
Percentile
31.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00387 · 31.6th percentile
Weakness
CWE-787 · Out-of-bounds Write
Published
2022-05-20T22:30Z
EPSS history
Timeline
  • 20 MAY 22:30Z
    Segfault and Out-of-bounds Write write due to incomplete validation in TensorFlow
    cvelistv5