Advisory

GHSA-mw6v-crh8-8533

Also known as: CVE-2018-7575, PYSEC-2019-205, PYSEC-2019-223, PYSEC-2019-230

Summary

Integer Overflow or Wraparound in Google TensorFlow

Details

Issue Description
Google TensorFlow 1.7.x and earlier is affected by a Buffer Overflow vulnerability. The type of exploitation is context-dependent. The block size in meta file might contain a large int64 value which causes an integer overflow upon addition. Subsequent code using n as index may cause an out-of-bounds read.

Impact
A maliciously crafted meta checkpoint could be used to cause the TensorFlow process to perform an out of bounds read on in process memory.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2019-04-30 15:36 UTC
Modified
2024-10-28 14:43 UTC

Affected packages and fixes

tensorflow

PyPI · All systems

Affected

  • introduced 1.0.0, fixed 1.7.1 (ecosystem)

Fixed versions

1.7.1

Fix

  • Fixed version 1.7.1
    pip install --upgrade tensorflow==1.7.1

tensorflow-gpu

PyPI · All systems

Affected

  • introduced 1.0.0, fixed 1.7.1 (ecosystem)

Fixed versions

1.7.1

Fix

  • Fixed version 1.7.1
    pip install --upgrade tensorflow-gpu==1.7.1

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences