{"id":"CVE-2020-26267","state":"PUBLISHED","title":"Lack of validation in data format attributes in TensorFlow","description":"In affected versions of TensorFlow the tf.raw_ops.DataFormatVecPermute API does not validate the src_format and dst_format attributes. The code assumes that these two arguments define a permutation of NHWC. This can result in uninitialized memory accesses, read outside of bounds and even crashes. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.","publishedAt":"2020-12-10T22:10:40.000Z","updatedAt":"2024-08-04T15:56:04.539Z","severity":{"score":4.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["tensorflow tensorflow"],"affected":[{"vendor":"tensorflow","product":"tensorflow","versions":[{"version":"< 1.15.5","status":"affected"},{"version":">= 2.0.0, < 2.0.4","status":"affected"},{"version":">= 2.1.0, < 2.1.3","status":"affected"},{"version":">= 2.2.0, < 2.2.2","status":"affected"},{"version":">= 2.3.0, < 2.3.2","status":"affected"}]}],"references":["https://github.com/tensorflow/tensorflow/security/advisories/GHSA-c9f3-9wfr-wgh7","https://github.com/tensorflow/tensorflow/commit/ebc70b7a592420d3d2f359e4b1694c236b82c7ae"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:47:08.370Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/26xxx/CVE-2020-26267.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-26267","state":"PUBLISHED","datePublished":"2020-12-10T22:10:40.000Z","dateUpdated":"2024-08-04T15:56:04.539Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-10-01T00:00:00.000Z"},"containers":{"cna":{"title":"Lack of validation in data format attributes in TensorFlow","descriptions":[{"lang":"en","value":"In affected versions of TensorFlow the tf.raw_ops.DataFormatVecPermute API does not validate the src_format and dst_format attributes. The code assumes that these two arguments define a permutation of NHWC. This can result in uninitialized memory accesses, read outside of bounds and even crashes. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0."}],"affected":[{"vendor":"tensorflow","product":"tensorflow","versions":[{"version":"< 1.15.5","status":"affected"},{"version":">= 2.0.0, < 2.0.4","status":"affected"},{"version":">= 2.1.0, < 2.1.3","status":"affected"},{"version":">= 2.2.0, < 2.2.2","status":"affected"},{"version":">= 2.3.0, < 2.3.2","status":"affected"}]}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-c9f3-9wfr-wgh7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/ebc70b7a592420d3d2f359e4b1694c236b82c7ae","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2020-12-10T22:10:40.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-c9f3-9wfr-wgh7","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-26267","STATE":"PUBLIC","TITLE":"Lack of validation in data format attributes in TensorFlow"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"tensorflow","version":{"version_data":[{"version_value":"< 1.15.5"},{"version_value":">= 2.0.0, < 2.0.4"},{"version_value":">= 2.1.0, < 2.1.3"},{"version_value":">= 2.2.0, < 2.2.2"},{"version_value":">= 2.3.0, < 2.3.2"}]}}]},"vendor_name":"tensorflow"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In affected versions of TensorFlow the tf.raw_ops.DataFormatVecPermute API does not validate the src_format and dst_format attributes. The code assumes that these two arguments define a permutation of NHWC. This can result in uninitialized memory accesses, read outside of bounds and even crashes. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-125 Out-of-bounds Read"}]}]},"references":{"reference_data":[{"name":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-c9f3-9wfr-wgh7","refsource":"CONFIRM","url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-c9f3-9wfr-wgh7"},{"name":"https://github.com/tensorflow/tensorflow/commit/ebc70b7a592420d3d2f359e4b1694c236b82c7ae","refsource":"MISC","url":"https://github.com/tensorflow/tensorflow/commit/ebc70b7a592420d3d2f359e4b1694c236b82c7ae"}]},"source":{"advisory":"GHSA-c9f3-9wfr-wgh7","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-c9f3-9wfr-wgh7","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/tensorflow/tensorflow/commit/ebc70b7a592420d3d2f359e4b1694c236b82c7ae","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T15:56:04.539Z"}}]}}}