PYSEC-2020-298
Record from OSV · Published December 10, 2020
tensorflow-cpu is fixed in ebc70b7a592420d3d2f359e4b1694c236b82c7ae, 2.3.2, 2.2.2 and 3 more (PyPI)
In affected versions of TensorFlow the tf.raw_ops.DataFormatVecPermute API does not validate the src_format and dst_format attributes. The code assumes that these two arguments define a permutation of NHWC. This can result in uninitialized memory accesses, read outside of bounds and even crashes. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tensorflow-cpu | PyPI | ebc70b7a592420d3d2f359e4b1694c236b82c7ae, 2.3.2, 2.2.2, 2.1.3, 2.0.4, 1.15.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PyPI | tensorflow-cpu | 0, 0, 2.0.0 |
Timeline
- Dec 10, 2020 CVE Published
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln PYSEC-2020-298
vulnetix vdb fixes PYSEC-2020-298
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/PYSEC-2020-298/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart