Advisory

PYSEC-2022-102

Also known as: BIT-tensorflow-2022-23593, CVE-2022-23593, GHSA-gwcx-jrx4-92w2, PYSEC-2022-157, PYSEC-2026-3193

Summary

The record has no summary.

Details

Tensorflow is an Open Source Machine Learning Framework. The simplifyBroadcast function in the MLIR-TFRT infrastructure in TensorFlow is vulnerable to a segfault (hence, denial of service), if called with scalar shapes. If all shapes are scalar, then maxRank is 0, so we build an empty SmallVector. The fix will be included in TensorFlow 2.8.0. This is the only affected version.

Severity

Not rated by the source.

Dates

Published
2022-02-04 23:15 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

tensorflow-cpu

PyPI · All systems

Affected

  • introduced 2.7.0, fixed 2.8.0 (ecosystem)

Fixed versions

2.8.0

Fix

  • Fixed version 2.8.0
    pip install --upgrade tensorflow-cpu==2.8.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences