🇰🇷 한글 설명
ggml-org llama.cpp 0.4.0 버전 이하의 RPC 서버 구성 요소에서 취약점이 발견되었습니다. ggml/src/ggml-rpc/ggml-rpc.cpp 파일의 rpc_server::deserialize_tensor 함수에서 ne 인자를 조작할 경우 어설션(assertion) 오류가 발생할 수 있습니다. 이 공격은 원격에서 수행이 가능합니다.
💡 쉬운 설명
llama.cpp의 원격 서버 기능에서 데이터 값을 조작하여 프로그램을 강제로 중단시킬 수 있는 결함이 있습니다. 해커가 멀리 떨어진 곳에서 원격으로 이 기능을 이용해 서버를 멈추게 할 수 있습니다.
🇺🇸 원문 (English)
A vulnerability was detected in ggml-org llama.cpp up to 0.4.0. This impacts the function rpc_server::deserialize_tensor of the file ggml/src/ggml-rpc/ggml-rpc.cpp of the component RPC Server. Performing a manipulation of the argument ne results in reachable assertion. The attack is possible to be carried out remotely. The reported GitHub issue was closed automatically due to inactivity.
📍 영향받는 시스템
ggml-org llama.cpp 0.4.0 및 그 이전 버전
⚔️ 공격 벡터
원격에서 RPC 서버의 deserialize_tensor 함수로 조작된 인자(ne)를 전송
🛡️ 대응 방법
llama.cpp를 최신 버전으로 업데이트하거나 RPC 서버 사용 시 신뢰할 수 있는 네트워크만 허용하도록 설정
🔧 검증 코드
출력된 태그 버전이 0.4.0 이하인지 확인하여 취약 여부를 판단합니다.
git describe --tags 2>/dev/null || echo 'Not a git repository'