CVE-2022-41894
CVSS V2 None
CVSS V3 High 8.1
Description
TensorFlow is an open source platform for machine learning. The reference kernel of the `CONV_3D_TRANSPOSE` TensorFlow Lite operator wrongly increments the data_ptr when adding the bias to the result. Instead of `data_ptr += num_channels;` it should be `data_ptr += output_num_channels;` as if the number of input channels is different than the number of output channels, the wrong result will be returned and a buffer overflow will occur if num_channels > output_num_channels. An attacker can craft a model with a specific number of input channels. It is then possible to write specific values through the bias of the layer outside the bounds of the buffer. This attack only works if the reference kernel resolver is used in the interpreter. We have patched the issue in GitHub commit 72c0bdcb25305b0b36842d746cc61d72658d2941. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
Overview
- CVE ID
- CVE-2022-41894
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-11-18T22:15:17
- Last Modified Date
- 2022-11-22T21:02:17
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* | 1 | OR | 2.8.4 | |
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* | 1 | OR | 2.9.0 | 2.9.3 |
cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:* | 1 | OR | 2.10.0 | 2.10.1 |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.1
- Base Severity
- HIGH
- Exploitability Score
- 2.2
- Impact Score
- 5.9
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-41894 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41894 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-11-18 23:00:10 | Added to TrackCVE | |||
2022-12-07 17:53:58 | 2022-11-18T22:15Z | 2022-11-18T22:15:17 | CVE Published Date | updated |
2022-12-07 17:53:58 | 2022-11-22T21:02:17 | CVE Modified Date | updated | |
2022-12-07 17:53:58 | Analyzed | Vulnerability Status | updated | |
2022-12-07 17:53:59 | CPE Information | updated |