CVE-2020-15209
CVSS V2 Medium 4.3
CVSS V3 Medium 5.9
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.
Overview
- CVE ID
- CVE-2020-15209
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2020-09-25T19:15:16
- Last Modified Date
- 2021-09-16T15:45:25
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* | 1 | OR | 1.15.4 | |
cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* | 1 | OR | 2.0.0 | 2.0.3 |
cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* | 1 | OR | 2.1.0 | 2.1.2 |
cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* | 1 | OR | 2.2.0 | 2.2.1 |
cpe:2.3:a:google:tensorflow:*:*:*:*:lite:*:*:* | 1 | OR | 2.3.0 | 2.3.1 |
cpe:2.3:o:opensuse:leap:15.2:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:N/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 5.9
- Base Severity
- MEDIUM
- Exploitability Score
- 2.2
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-qh32-6jjc-qprm | Exploit Third Party Advisory |
https://github.com/tensorflow/tensorflow/commit/0b5662bc2be13a8c8f044d925d87fb6e56247cd8 | Patch Third Party Advisory |
https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1 | Third Party Advisory |
http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html | Mailing List Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-15209 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15209 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:04:57 | Added to TrackCVE | |||
2022-12-04 23:27:48 | 2020-09-25T19:15Z | 2020-09-25T19:15:16 | CVE Published Date | updated |
2022-12-04 23:27:48 | 2021-09-16T15:45:25 | CVE Modified Date | updated | |
2022-12-04 23:27:48 | Analyzed | Vulnerability Status | updated |