Advisory

PYSEC-2020-141

Also known as: BIT-tensorflow-2020-26269, CVE-2020-26269, GHSA-9jjw-hf72-3mxw, PYSEC-2020-300, PYSEC-2020-335

Summary

The record has no summary.

Details

In TensorFlow release candidate versions 2.4.0rc*, the general implementation for matching filesystem paths to globbing pattern is vulnerable to an access out of bounds of the array holding the directories. There are multiple invariants and preconditions that are assumed by the parallel implementation of GetMatchingPaths but are not verified by the PRs introducing it (#40861 and #44310). Thus, we are completely rewriting the implementation to fully specify and validate these. This is patched in version 2.4.0. This issue only impacts master branch and the release candidates for TF version 2.4. The final release of the 2.4 release will be patched.

Severity

Not rated by the source.

Dates

Published
2020-12-10 23:15 UTC
Modified
2023-12-06 01:00 UTC

Affected packages and fixes

tensorflow

PyPI · All systems

Affected

  • introduced 2.4.0rc0, fixed 2.4.0 (ecosystem)

Fixed versions

2.4.0

Fix

  • Fixed version 2.4.0
    pip install --upgrade tensorflow==2.4.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