-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
The vulnerability stems from the EditDistanceOp's Compute function allocating an output tensor based on output_shape without validating it has >0 elements. The patch adds an explicit check (OP_REQUIRES(ctx, output_elements > 0)) to prevent empty allocations. The original code's lack of this check directly leads to the null dereference when operating on an empty buffer via setZero(). The function's responsibility for buffer allocation and initialization makes it the clear vulnerable entry point.
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| tensorflow | pip | < 2.1.4 | 2.1.4 |
| tensorflow | pip | >= 2.2.0, < 2.2.3 | 2.2.3 |
| tensorflow | pip |
| >= 2.3.0, < 2.3.3 |
| 2.3.3 |
| tensorflow | pip | >= 2.4.0, < 2.4.2 | 2.4.2 |
| tensorflow-cpu | pip | < 2.1.4 | 2.1.4 |
| tensorflow-cpu | pip | >= 2.2.0, < 2.2.3 | 2.2.3 |
| tensorflow-cpu | pip | >= 2.3.0, < 2.3.3 | 2.3.3 |
| tensorflow-cpu | pip | >= 2.4.0, < 2.4.2 | 2.4.2 |
| tensorflow-gpu | pip | < 2.1.4 | 2.1.4 |
| tensorflow-gpu | pip | >= 2.2.0, < 2.2.3 | 2.2.3 |
| tensorflow-gpu | pip | >= 2.3.0, < 2.3.3 | 2.3.3 |
| tensorflow-gpu | pip | >= 2.4.0, < 2.4.2 | 2.4.2 |
Ongoing coverage of React2Shell