{"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-2021-41208"}], "descriptions": [{"lang": "en", "value": "TensorFlow is an open source platform for machine learning. In affected versions the code for boosted trees in TensorFlow is still missing validation. As a result, attackers can trigger denial of service (via dereferencing `nullptr`s or via `CHECK`-failures) as well as abuse undefined behavior (binding references to `nullptr`s). An attacker can also read and write from heap buffers, depending on the API that gets used and the arguments that are passed to the call. Given that the boosted trees implementation in TensorFlow is unmaintained, it is recommend to no longer use these APIs. We will deprecate TensorFlow's boosted trees APIs in subsequent releases. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2021-11-05T21:50:16.000Z", "x_subShortName": "debian"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"High\"}"}}}], "affected": [{"vendor": "arch", "product": "tensorflow", "versions": [{"status": "affected", "version": "2.6.0-6", "lessThan": "2.6.1-1", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://security.archlinux.org/CVE-2021-41208"}], "descriptions": [{"lang": "en", "value": "In TensorFlow before version 2.6.1, the code for boosted trees in TensorFlow is still missing validation. As a result, attackers can trigger denial of service (via dereferencing nullptrs or via CHECK-failures) as well as abuse undefined behavior (binding references to nullptrs). An attacker can also read and write from heap buffers, depending on the API that gets used and the arguments that are passed to the call. Given that the boosted trees implementation in TensorFlow is unmaintained, it is recommend to no longer use these APIs. TensorFlow's boosted trees APIs will be deprecated in subsequent releases."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000002", "shortName": "arch", "dateUpdated": "2021-11-06T00:12:34.000Z", "x_subShortName": "arch"}}, {"metrics": [{"cvssV3_1": {"scope": "CHANGED", "version": "3.1", "baseScore": 9.3, "attackVector": "LOCAL", "baseSeverity": "CRITICAL", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"CRITICAL\"}"}}}], "affected": [{"vendor": "pypi", "product": "tensorflow", "versions": [{"status": "affected", "version": "0", "lessThan": "2.4.4", "versionType": "custom"}, {"status": "affected", "version": "2.5.0", "lessThan": "2.5.2", "versionType": "custom"}, {"status": "affected", "version": "2.6.0", "lessThan": "2.6.1", "versionType": "custom"}, {"status": "affected", "version": "2.7.0rc0", "lessThan": "2.7.0", "versionType": "custom"}], "defaultStatus": "unaffected"}, {"vendor": "pypi", "product": "tensorflow-cpu", "versions": [{"status": "affected", "version": "0", "lessThan": "2.4.4", "versionType": "custom"}, {"status": "affected", "version": "2.5.0", "lessThan": "2.5.2", "versionType": "custom"}, {"status": "affected", "version": "2.6.0", "lessThan": "2.6.1", "versionType": "custom"}, {"status": "affected", "version": "2.7.0rc0", "lessThan": "2.7.0", "versionType": "custom"}], "defaultStatus": "unaffected"}, {"vendor": "pypi", "product": "tensorflow-gpu", "versions": [{"status": "affected", "version": "0", "lessThan": "2.4.4", "versionType": "custom"}, {"status": "affected", "version": "2.5.0", "lessThan": "2.5.2", "versionType": "custom"}, {"status": "affected", "version": "2.6.0", "lessThan": "2.6.1", "versionType": "custom"}, {"status": "affected", "version": "2.7.0rc0", "lessThan": "2.7.0", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2021-617.yaml"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2021-815.yaml"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2021-400.yaml"}, {"url": "https://github.com/tensorflow/tensorflow"}, {"url": "https://github.com/tensorflow/tensorflow/commit/5c8c9a8bfe750f9743d0c859bae112060b216f5c"}, {"url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-57wx-m983-2f88"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41208"}], "descriptions": [{"lang": "en", "value": "### Impact\nThe [code for boosted trees in TensorFlow](https://github.com/tensorflow/tensorflow/blob/e0b6e58c328059829c3eb968136f17aa72b6c876/tensorflow/core/kernels/boosted_trees/stats_ops.cc) is still missing validation. As a result, attackers can trigger denial of service (via dereferencing `nullptr`s or via `CHECK`-failures) as well as abuse undefined behavior (binding references to `nullptr`s). An attacker can also read and write from heap buffers, depending on the API that gets used and the arguments that are passed to the call.\n\n**Note**: Given that the boosted trees implementation in TensorFlow is unmaintained, it is recommend to no longer use these APIs.  Instead, please use the downstream [TensorFlow Decision Forests](https://github.com/tensorflow/decision-forests) project which is newer and supports more features. We will deprecate TensorFlow's boosted trees APIs in subsequent releases.\n\n### Patches\nWe have patched the issue in GitHub commit [5c8c9a8bfe750f9743d0c859bae112060b216f5c](https://github.com/tensorflow/tensorflow/commit/5c8c9a8bfe750f9743d0c859bae112060b216f5c).\n\nThe fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.\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### Attribution\nThis vulnerability has been reported by members of the Aivul Team from Qihoo 360."}, {"lang": "en", "value": "Incomplete validation in boosted trees code"}, {"lang": "en", "value": "TensorFlow is an open source platform for machine learning. In affected versions the code for boosted trees in TensorFlow is still missing validation. As a result, attackers can trigger denial of service (via dereferencing `nullptr`s or via `CHECK`-failures) as well as abuse undefined behavior (binding references to `nullptr`s). An attacker can also read and write from heap buffers, depending on the API that gets used and the arguments that are passed to the call. Given that the boosted trees implementation in TensorFlow is unmaintained, it is recommend to no longer use these APIs. We will deprecate TensorFlow's boosted trees APIs in subsequent releases. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range."}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2021-11-05T22:15:00Z", "x_subShortName": "pypi"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.6, "accessVector": "LOCAL", "vectorString": "AV:L/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"format": "CVSS", "cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 7.8, "attackVector": "LOCAL", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "HIGH"}}, {"format": "CVSS", "cvssV3_1": {"scope": "CHANGED", "version": "3.1", "baseScore": 8.8, "attackVector": "LOCAL", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "LOW", "confidentialityImpact": "HIGH"}}], "affected": [{"cpes": ["cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*", "cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*", "cpe:2.3:a:google:tensorflow:2.7.0:rc1:*:*:*:*:*:*"], "vendor": "google", "product": "tensorflow", "versions": [{"status": "affected", "version": "2.4.0", "lessThan": "2.4.4", "versionType": "custom"}, {"status": "affected", "version": "2.5.0", "lessThan": "2.5.2", "versionType": "custom"}, {"status": "affected", "version": "2.6.0", "lessThan": "2.6.1", "versionType": "custom"}, {"status": "affected", "version": "2.7.0"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/tensorflow/tensorflow/commit/5c8c9a8bfe750f9743d0c859bae112060b216f5c", "tags": ["patch", "third-party-advisory"]}, {"url": "https://github.com/tensorflow/tensorflow/security/advisories/GHSA-57wx-m983-2f88", "tags": ["third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "TensorFlow is an open source platform for machine learning. In affected versions the code for boosted trees in TensorFlow is still missing validation. As a result, attackers can trigger denial of service (via dereferencing `nullptr`s or via `CHECK`-failures) as well as abuse undefined behavior (binding references to `nullptr`s). An attacker can also read and write from heap buffers, depending on the API that gets used and the arguments that are passed to the call. Given that the boosted trees implementation in TensorFlow is unmaintained, it is recommend to no longer use these APIs. We will deprecate TensorFlow's boosted trees APIs in subsequent releases. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range."}, {"lang": "es", "value": "TensorFlow es una plataforma de código abierto para el aprendizaje automático. En las versiones afectadas, el código de los árboles potenciados en TensorFlow sigue sin ser comprendido por la comprobación. Como resultado, los atacantes pueden desencadenar una denegación de servicio (por medio de la desreferenciación de \"nullptr\"s o a través de fallos de \"CHECK\") así como abusar de un comportamiento indefinido (vinculando referencias a \"nullptr\"s). Un atacante también puede leer y escribir desde los buffers de la pila, dependiendo de la API que es usada y los argumentos que son pasados a la llamada. Dado que la implementación de boosted trees en TensorFlow no es mantenida, es recomendado no seguir usando estas APIs. Dejaremos de usar las APIs de árboles potenciados de TensorFlow en versiones posteriores. La corrección será incluida en TensorFlow versión 2.7.0. También será incluida este commit en TensorFlow versión 2.6.1, TensorFlow versión 2.5.2, y TensorFlow versión 2.4.4, ya que estos también están afectados y todavía están en el rango admitido"}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-476", "description": "CWE-476"}, {"lang": "en", "cweId": "CWE-824", "description": "CWE-824"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2021-11-05T22:15:08Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2021-41208", "state": "PUBLISHED", "dateUpdated": "2024-11-21T06:25:46Z", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "datePublished": "2021-11-05T22:15:08Z", "assignerShortName": "GitHub_M"}, "dataVersion": "5.0"}