kcve.ai취약점 정보 · 내 자산 확인

CVE-2022-21731 Type confusion leading to segfault in Tensorflow

설명

Tensorflow is an Open Source Machine Learning Framework. The implementation of shape inference for `ConcatV2` can be used to trigger a denial of service attack via a segfault caused by a type confusion. The `axis` argument is translated into `concat_dim` in the `ConcatShapeHelper` helper function. Then, a value for `min_rank` is computed based on `concat_dim`. This is then used to validate that the `values` tensor has at least the required rank. However, `WithRankAtLeast` receives the lower bound as a 64-bits value and then compares it against the maximum 32-bits integer value that could be represented. Due to the fact that `min_rank` is a 32-bits value and the value of `axis`, the `rank` argument is a negative value, so the error check is bypassed. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

영향 받는 제품 제품 1개

  • google

    tensorflow

    NVD 기준

    영향 받는 버전

    • 2.5.2 이하
    • 2.6.0 이상 2.6.2 이하
    • 2.7.0

    해결 버전

    해결된 버전 정보가 없습니다.

패키지 기준 해결 버전 패키지 3개

  • PyPI · tensorflow

    해결 버전 있음

    영향 받는 버전 · 해결 버전

    • 영향 2.5.3 미만 · 해결 2.5.3 이상
    • 영향 2.6.0 이상 2.6.3 미만 · 해결 2.6.3 이상
    • 영향 2.7.0 이상 2.7.1 미만 · 해결 2.7.1 이상
  • PyPI · tensorflow-cpu

    해결 버전 있음

    영향 받는 버전 · 해결 버전

    • 영향 2.5.3 미만 · 해결 2.5.3 이상
    • 영향 2.6.0 이상 2.6.3 미만 · 해결 2.6.3 이상
    • 영향 2.7.0 이상 2.7.1 미만 · 해결 2.7.1 이상
  • PyPI · tensorflow-gpu

    해결 버전 있음

    영향 받는 버전 · 해결 버전

    • 영향 2.5.3 미만 · 해결 2.5.3 이상
    • 영향 2.6.0 이상 2.6.3 미만 · 해결 2.6.3 이상
    • 영향 2.7.0 이상 2.7.1 미만 · 해결 2.7.1 이상

출처: GitHub Advisory Database · CC-BY 4.0

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의