🔍 CVE-2024-39720

8.2
CVSS Score
HIGH
2024-10-31
2026-06-17 07:42
✅ 완료

🇰🇷 한글 설명

Ollama 0.1.46 미만 버전에서 발견된 취약점으로, 공격자가 조작된 GGUF 파일을 업로드하여 애플리케이션을 충돌시킬 수 있습니다. 공격자는 특정 Modelfile을 사용하여 CreateModel 경로를 통해 세그멘테이션 오류(SIGSEGV)를 유발하고 서비스를 중단시킬 수 있습니다.

💡 쉬운 설명

악의적으로 만들어진 파일을 Ollama에 올리면 프로그램이 갑자기 멈추거나 꺼지게 만드는 공격입니다. 공격자가 특수한 명령어를 사용하여 시스템을 마비시킬 수 있습니다.

🇺🇸 원문 (English)

An issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a malformed GGUF file containing just 4 bytes starting with the GGUF custom magic header. By leveraging a custom Modelfile that includes a FROM statement pointing to the attacker-controlled blob file, the attacker can crash the application through the CreateModel route, leading to a segmentation fault (signal SIGSEGV: segmentation violation).

📍 영향받는 시스템

Ollama 0.1.46 미만 모든 버전

⚔️ 공격 벡터

조작된 GGUF 파일 업로드 및 커스텀 Modelfile을 이용한 CreateModel 경로 공격

🛡️ 대응 방법

Ollama를 최신 버전(0.1.46 이상)으로 즉시 업데이트하십시오.

🔧 검증 코드

출력된 버전이 0.1.46 미만인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
ollama --version | grep -E '0\.[0-1]\.[0-4][0-5]'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Ollama