🔍 CVE-2021-29564

2.5
CVSS Score
LOW
2021-05-14
2026-06-17 03:47
✅ 완료

🇰🇷 한글 설명

TensorFlow의 `tf.raw_ops.EditDistance` 구현 과정에서 입력 매개변수에 대한 검증이 불충분하여 Null 포인터 역참조가 발생할 수 있습니다. 이로 인해 공격자가 시스템의 비정상적인 동작을 유도할 수 있습니다.

💡 쉬운 설명

TensorFlow라는 인공지능 도구의 특정 기능에서 입력값을 제대로 확인하지 않아 프로그램이 갑자기 멈추거나 오류가 발생할 수 있는 문제입니다. 잘못된 데이터를 입력하면 프로그램이 길을 잃고 멈춰버릴 수 있습니다.

🇺🇸 원문 (English)

TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger a null pointer dereference in the implementation of `tf.raw_ops.EditDistance`. This is because the implementation(https://github.com/tensorflow/tensorflow/blob/79865b542f9ffdc9caeb255631f7c56f1d4b6517/tensorflow/core/kernels/edit_distance_op.cc#L103-L159) has incomplete validation of the input parameters. The fix will be included in TensorFlow 2.5.0. We will also cherrypick this commit on TensorFlow 2.4.2, TensorFlow 2.3.3, TensorFlow 2.2.3 and TensorFlow 2.1.4, as these are also affected and still in supported range.

📍 영향받는 시스템

TensorFlow 2.5.0 미만 버전 (2.4.2, 2.3.3, 2.2.3, 2.1.4 포함)

⚔️ 공격 벡터

조작된 입력 매개변수를 `tf.raw_ops.EditDistance` 연산에 전달하여 Null 포인터 역참조 유도

🛡️ 대응 방법

TensorFlow를 2.5.0 이상의 최신 버전으로 업데이트하거나, 해당 보안 패치가 적용된 버전으로 업그레이드하십시오.

🔧 검증 코드

출력된 버전 번호가 2.5.0 미만인지 확인하여 취약 여부를 판단합니다.

Shell / Script
python3 -c 'import tensorflow as tf; print(tf.__version__)'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L

💻 영향받는 소프트웨어

Azure Machine Learning