{"id":"CVE-2022-29208","sourceIdentifier":"security-advisories@github.com","published":"2022-05-20T23:15:45.150","lastModified":"2026-06-17T04:39:49.590","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the implementation of `tf.raw_ops.EditDistance` has incomplete validation. Users can pass negative values to cause a segmentation fault based denial of service. In multiple places throughout the code, one may compute an index for a write operation. However, the existing validation only checks against the upper bound of the array. Hence, it is possible to write before the array by massaging the input to generate negative values for `loc`. Versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4 contain a patch for this issue."},{"lang":"es","value":"TensorFlow es una plataforma de código abierto para el aprendizaje automático. En versiones anteriores a 2.9.0, 2.8.1, 2.7.2 y 2.6.4, la implementación de \"tf.raw_ops.EditDistance\" presenta una comprobación incompleta. Los usuarios pueden pasar valores negativos para causar una denegación de servicio basada en un fallo de segmentación. En múltiples lugares a lo largo del código, puede calcularse un índice para una operación de escritura. Sin embargo, la comprobación existente sólo comprueba el límite superior del array. Por lo tanto, es posible escribir antes de la matriz al masajear la entrada para generar valores negativos para \"loc\". Las versiones 2.9.0, 2.8.1, 2.7.2 y 2.6.4 contienen un parche para este problema"}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"tensorflow","product":"tensorflow","versions":[{"version":"< 2.6.4","status":"affected"},{"version":">= 2.7.0rc0, < 2.7.2","status":"affected"},{"version":">= 2.8.0rc0, < 2.8.1","status":"affected"},{"version":">= 2.9.0rc0, < 2.9.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:P/A:P","baseScore":3.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"LOW","exploitabilityScore":3.9,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-04-22T15:46:49.777430Z","id":"CVE-2022-29208","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-787"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","versionEndExcluding":"2.6.4","matchCriteriaId":"D9359D32-D090-44CF-AC43-2046084A28BB"},{"vulnerable":true,"criteria":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","versionStartIncluding":"2.7.0","versionEndExcluding":"2.7.2","matchCriteriaId":"C4DFBF2D-5283-42F6-8800-D653BFA5CE82"},{"vulnerable":true,"criteria":"cpe:2.3:a:google:tensorflow:2.7.0:rc0:*:*:*:*:*:*","matchCriteriaId":"A58EDA5C-66D6-46F1-962E-60AFB7C784A7"},{"vulnerable":true,"criteria":"cpe:2.3:a:google:tensorflow:2.7.0:rc1:*:*:*:*:*:*","matchCriteriaId":"89522760-C2DF-400D-9624-626D8F160CBA"},{"vulnerable":true,"criteria":"cpe:2.3:a:google:tensorflow:2.8.0:-:*:*:*:*:*:*","matchCriteriaId":"E9EA1898-ACAA-4699-8BAE-54D62C1819FB"},{"vulnerable":true,"criteria":"cpe:2.3:a:google:tensorflow:2.8.0:rc0:*:*:*:*:*:*","matchCriteriaId":"130DE3C9-6842-456F-A259-BF8FF8457217"},{"vulnerable":true,"criteria":"cpe:2.3:a:google:tensorflow:2.8.0:rc1:*:*:*:*:*:*","matchCriteriaId":"BBF2FCEF-989C-409D-9F4C-81418C65B972"},{"vulnerable":true,"criteria":"cpe:2.3:a:google:tensorflow:2.9.0:rc0:*:*:*:*:*:*","matchCriteriaId":"9CFB1CFC-579D-4647-A472-6DE8BE1951DE"},{"vulnerable":true,"criteria":"cpe:2.3:a:google:tensorflow:2.9.0:rc1:*:*:*:*:*:*","matchCriteriaId":"F3F3F37E-D27F-4060-830C-0AFF16150777"}]}]}],"references":[{"url":"https://github.com/tensorflow/tensorflow/commit/30721cf564cb029d34535446d6a5a6357bebc8e7","source":"security-advisories@github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4","source":"security-advisories@github.com","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2","source":"security-advisories@github.com","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1","source":"security-advisories@github.com","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0","source":"security-advisories@github.com","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-2r2f-g8mw-9gvr","source":"security-advisories@github.com","tags":["Exploit","Patch","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/commit/30721cf564cb029d34535446d6a5a6357bebc8e7","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.6.4","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.7.2","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.8.1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/releases/tag/v2.9.0","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-2r2f-g8mw-9gvr","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Third Party Advisory"]}]}