{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"unimportant\"}"}}}], "affected": [{"vendor": "debian", "product": "tensorflow", "platforms": ["forky", "sid"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2022-35971"}], "descriptions": [{"lang": "en", "value": "TensorFlow is an open source platform for machine learning. If `FakeQuantWithMinMaxVars` is given `min` or `max` tensors of a nonzero rank, it results in a `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 785d67a78a1d533759fcd2f5e8d6ef778de849e0. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2022-09-16T20:50:10.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 5.9, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "HIGH", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "pypi", "product": "tensorflow", "versions": [{"status": "affected", "version": "0", "lessThan": "2.7.2", "versionType": "custom"}, {"status": "affected", "version": "2.8.0", "lessThan": "2.8.1", "versionType": "custom"}, {"status": "affected", "version": "2.9.0", "lessThan": "2.9.1", "versionType": "custom"}], "defaultStatus": "unaffected"}, {"vendor": "pypi", "product": "tensorflow-cpu", "versions": [{"status": "affected", "version": "0", "lessThan": "2.7.2", "versionType": "custom"}, {"status": "affected", "version": "2.8.0", "lessThan": "2.8.1", "versionType": "custom"}, {"status": "affected", "version": "2.9.0", "lessThan": "2.9.1", "versionType": "custom"}], "defaultStatus": "unaffected"}, {"vendor": "pypi", "product": "tensorflow-gpu", "versions": [{"status": "affected", "version": "0", "lessThan": "2.7.2", "versionType": "custom"}, {"status": "affected", "version": "2.8.0", "lessThan": "2.8.1", "versionType": "custom"}, {"status": "affected", "version": "2.9.0", "lessThan": "2.9.1", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/advisories/GHSA-9fpg-838v-wpv7"}, {"url": "https://github.com/tensorflow/tensorflow"}, {"url": "https://github.com/tensorflow/tensorflow/commit/785d67a78a1d533759fcd2f5e8d6ef778de849e0"}, {"url": "https://github.com/tensorflow/tensorflow/releases/tag/v2.10.0"}, {"url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9fpg-838v-wpv7"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2022-35971"}, {"url": "https://pypi.org/project/tensorflow"}, {"url": "https://pypi.org/project/tensorflow-cpu"}, {"url": "https://pypi.org/project/tensorflow-gpu"}], "descriptions": [{"lang": "en", "value": " TensorFlow vulnerable to `CHECK` fail in `FakeQuantWithMinMaxVars`"}, {"lang": "en", "value": "### Impact\nIf `FakeQuantWithMinMaxVars` is given `min` or `max` tensors of a nonzero rank, it results in a `CHECK` fail that can be used to trigger a denial of service attack.\n```python\nimport tensorflow as tf\n\nnum_bits = 8\nnarrow_range = False\ninputs = tf.constant(0, shape=[2,3], dtype=tf.float32)\nmin = tf.constant(0, shape=[2,3], dtype=tf.float32)\nmax = tf.constant(0, shape=[2,3], dtype=tf.float32)\ntf.raw_ops.FakeQuantWithMinMaxVars(inputs=inputs, min=min, max=max, num_bits=num_bits, narrow_range=narrow_range)\n```\n\n### Patches\nWe have patched the issue in GitHub commit [785d67a78a1d533759fcd2f5e8d6ef778de849e0](https://github.com/tensorflow/tensorflow/commit/785d67a78a1d533759fcd2f5e8d6ef778de849e0).\n\nThe fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range.\n\n\n### For more information\nPlease consult [our security guide](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) for more information regarding the security model and how to contact us with issues and questions.\n\n\n### Attribution\nThis vulnerability has been reported by:\n - Neophytos Christou, Secure Systems Labs, Brown University.\n - 刘力源, Information System & Security and Countermeasures Experiments Center, Beijing Institute of Technology\n"}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2022-09-16T22:20:09Z", "x_subShortName": "pypi"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 5.9, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "HIGH", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "NONE"}}, {"format": "CVSS", "cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 7.5, "attackVector": "NETWORK", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*", "cpe:2.3:a:google:tensorflow:2.10:rc0:*:*:*:*:*:*", "cpe:2.3:a:google:tensorflow:2.10:rc1:*:*:*:*:*:*", "cpe:2.3:a:google:tensorflow:2.10:rc2:*:*:*:*:*:*", "cpe:2.3:a:google:tensorflow:2.10:rc3:*:*:*:*:*:*"], "vendor": "google", "product": "tensorflow", "versions": [{"status": "affected", "version": "2.7.0", "lessThan": "2.7.2", "versionType": "custom"}, {"status": "affected", "version": "2.8.0", "lessThan": "2.8.1", "versionType": "custom"}, {"status": "affected", "version": "2.9.0", "lessThan": "2.9.1", "versionType": "custom"}, {"status": "affected", "version": "2.10"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/tensorflow/tensorflow/commit/785d67a78a1d533759fcd2f5e8d6ef778de849e0", "tags": ["patch", "third-party-advisory"]}, {"url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-9fpg-838v-wpv7", "tags": ["patch", "third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "TensorFlow is an open source platform for machine learning. If `FakeQuantWithMinMaxVars` is given `min` or `max` tensors of a nonzero rank, it results in a `CHECK` fail that can be used to trigger a denial of service attack. We have patched the issue in GitHub commit 785d67a78a1d533759fcd2f5e8d6ef778de849e0. The fix will be included in TensorFlow 2.10.0. We will also cherrypick this commit on TensorFlow 2.9.1, TensorFlow 2.8.1, and TensorFlow 2.7.2, as these are also affected and still in supported range. There are no known workarounds for this issue."}, {"lang": "es", "value": "TensorFlow es una plataforma de código abierto para el aprendizaje automático. Si a \"FakeQuantWithMinMaxVars\" le son dados tensores \"min\" o \"max\" de un rango distinto de cero, es producido un fallo de \"CHECK\" que puede usarse para desencadenar un ataque de denegación de servicio. Hemos parcheado el problema en el commit 785d67a78a1d533759fcd2f5e8d6ef778de849e0 de GitHub. La corrección será incluida en TensorFlow versión 2.10.0. También seleccionaremos este compromiso en TensorFlow versión 2.9.1, TensorFlow versión 2.8.1, y TensorFlow versión 2.7.2, ya que estos también están afectados y todavía están en el rango admitido. No se presentan mitigaciones conocidas para este problema"}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-617", "description": "CWE-617"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2022-09-16T21:15:09Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2022-35971", "state": "PUBLISHED", "dateUpdated": "2024-11-21T07:12:04Z", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "datePublished": "2022-09-16T21:15:09Z", "assignerShortName": "GitHub_M"}, "dataVersion": "5.0"}