CVE-2020-26271
Last modified
CVE-2020-26271 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. In affected versions of TensorFlow under certain cases, loading a saved model can result in accessing uninitialized memory while building the computation graph. The MakeEdge function creates an edge between one output tensor of the src node (given by output_index) and the input slot of the dst node (given by input_index). EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
In affected versions of TensorFlow under certain cases, loading a saved model can result in accessing uninitialized memory while building the computation graph. The MakeEdge function creates an edge between one output tensor of the src node (given by output_index) and the input slot of the dst node (given by input_index). This is only possible if the types of the tensors on both sides coincide, so the function begins by obtaining the corresponding DataType values and comparing these for equality. However, there is no check that the indices point to inside of the arrays they index into. Thus, this can result in accessing data out of bounds of the corresponding heap allocated arrays. In most scenarios, this can manifest as unitialized data access, but if the index points far away from the boundaries of the arrays this can be used to leak addresses from the library. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Tensorflow | < 1.15.5 | |
| Tensorflow | >= 2.0.0, < 2.0.4 | |
| Tensorflow | >= 2.1.0, < 2.1.3 | |
| Tensorflow | >= 2.2.0, < 2.2.2 | |
| Tensorflow | >= 2.3.0, < 2.3.2 |
References
- https://github.com/tensorflow/tensorflow/commit/0cc38aaa4064fd9e79101994ce9872c6d91f816bPatch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-q263-fvxm-m5mwExploit, Patch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/commit/0cc38aaa4064fd9e79101994ce9872c6d91f816bPatch, Third Party Advisory
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-q263-fvxm-m5mwExploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-26271?
How severe is CVE-2020-26271?
How do I fix CVE-2020-26271?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-26266In affected versions of TensorFlow under certain cases a sav…5.3
- CVE-2020-26267In affected versions of TensorFlow the tf.raw_ops.DataFormat…7.8
- CVE-2020-26268In affected versions of TensorFlow the tf.raw_ops.ImmutableC…4.4
- CVE-2020-26269In TensorFlow release candidate versions 2.4.0rc*, the gener…7.5
- CVE-2020-2627Vulnerability in the MySQL Server product of Oracle MySQL (c…6.5
- CVE-2020-26270In affected versions of TensorFlow running an LSTM/GRU model…3.3
- CVE-2020-26272The Electron framework lets users write cross-platform deskt…6.5
- CVE-2020-26273osquery is a SQL powered operating system instrumentation, m…5.2
- CVE-2020-26274In systeminformation (npm package) before version 4.31.1 the…8.8
- CVE-2020-26275The Jupyter Server provides the backend (i.e. the core servi…6.1
- CVE-2020-26276Fleet is an open source osquery manager. In Fleet before ver…9.8
- CVE-2020-26277DBdeployer is a tool that deploys MySQL database servers eas…6.1
Are you affected by CVE-2020-26271?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
