CVE-2021-41211
CVSS V2 Low 3.6
CVSS V3 High 7.1
Description
TensorFlow is an open source platform for machine learning. In affected versions the shape inference code for `QuantizeV2` can trigger a read outside of bounds of heap allocated array. This occurs whenever `axis` is a negative value less than `-1`. In this case, we are accessing data before the start of a heap buffer. The code allows `axis` to be an optional argument (`s` would contain an `error::NOT_FOUND` error code). Otherwise, it assumes that `axis` is a valid index into the dimensions of the `input` tensor. If `axis` is less than `-1` then this results in a heap OOB read. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, as this version is the only one that is also affected.
Overview
- CVE ID
- CVE-2021-41211
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-11-05T21:15:08
- Last Modified Date
- 2021-11-09T15:14:04
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:google:tensorflow:2.6.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:L/Au:N/C:P/I:N/A:P
- Access Vector
- LOCAL
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- PARTIAL
- Base Score
- 3.6
- Severity
- LOW
- Exploitability Score
- 3.9
- Impact Score
- 4.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.1
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.2
References
Reference URL | Reference Tags |
---|---|
https://github.com/tensorflow/tensorflow/security/advisories/GHSA-cvgx-3v3q-m36c | Exploit Third Party Advisory |
https://github.com/tensorflow/tensorflow/commit/a0d64445116c43cf46a5666bd4eee28e7a82f244 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-41211 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41211 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:47:51 | Added to TrackCVE | |||
2022-12-05 13:57:54 | 2021-11-05T21:15Z | 2021-11-05T21:15:08 | CVE Published Date | updated |
2022-12-05 13:57:54 | 2021-11-09T15:14:04 | CVE Modified Date | updated | |
2022-12-05 13:57:54 | Analyzed | Vulnerability Status | updated |