Advisory

PYSEC-2019-234

Also known as: CVE-2019-16778, GHSA-844w-j86r-4x2j, PYSEC-2019-209, PYSEC-2019-227

Summary

The record has no summary.

Details

In TensorFlow before 1.15, a heap buffer overflow in UnsortedSegmentSum can be produced when the Index template argument is int32. In this case data_size and num_segments fields are truncated from int64 to int32 and can produce negative numbers, resulting in accessing out of bounds heap memory. This is unlikely to be exploitable and was detected and fixed internally in TensorFlow 1.15 and 2.0.

Severity

Not rated by the source.

Dates

Published
2019-12-16 21:15 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

tensorflow-gpu

PyPI · All systems

Affected

  • introduced 1.0.0, fixed 1.15.0 (ecosystem)

Fixed versions

1.15.0

Fix

  • Fixed version 1.15.0
    pip install --upgrade tensorflow-gpu==1.15.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