CVE-2020-15209

unknown
Published 2020-09-25 ยท Modified 2023-12-06
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
โ€”

Description

In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, a crafted TFLite model can force a node to have as input a tensor backed by a `nullptr` buffer. This can be achieved by changing a buffer index in the flatbuffer serialization to convert a read-only tensor to a read-write one. The runtime assumes that these buffers are written to before a possible read, hence they are initialized with `nullptr`. However, by changing the buffer index for a tensor and implicitly converting that tensor to be a read-write one, as there is nothing in the model that writes to it, we get a null pointer dereference. The issue is patched in commit 0b5662bc, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Fixed 2 releases
VersionStatusFixed in
sid Fixed 0
forky Fixed 0

Package impact

EcosystemPackageVulnerableFixed
python PyPItensorflow<1.15.41.15.4
python PyPItensorflow>=2.0.0,<2.0.32.0.3
python PyPItensorflow>=2.1.0,<2.1.22.1.2
python PyPItensorflow>=2.2.0,<2.2.12.2.1
python PyPItensorflow>=2.3.0,<2.3.12.3.1
python PyPItensorflow-cpu<1.15.41.15.4
python PyPItensorflow-cpu>=2.0.0,<2.0.32.0.3
python PyPItensorflow-cpu>=2.1.0,<2.1.22.1.2
python PyPItensorflow-cpu>=2.2.0,<2.2.12.2.1
python PyPItensorflow-cpu>=2.3.0,<2.3.12.3.1
python PyPItensorflow-gpu<1.15.41.15.4
python PyPItensorflow-gpu>=2.0.0,<2.0.32.0.3
python PyPItensorflow-gpu>=2.1.0,<2.1.22.1.2
python PyPItensorflow-gpu>=2.2.0,<2.2.12.2.1
python PyPItensorflow-gpu>=2.3.0,<2.3.12.3.1
python PyPItensorflow<0b5662bc2be13a8c8f044d925d87fb6e56247cd8||>=2.3.0,<2.3.10b5662bc2be13a8c8f044d925d87fb6e56247cd8
python PyPItensorflow-cpu<0b5662bc2be13a8c8f044d925d87fb6e56247cd8||>=2.3.0,<2.3.10b5662bc2be13a8c8f044d925d87fb6e56247cd8
python PyPItensorflow-gpu<0b5662bc2be13a8c8f044d925d87fb6e56247cd8||>=2.3.0,<2.3.10b5662bc2be13a8c8f044d925d87fb6e56247cd8

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.