🇰🇷 한글 설명
run-llama/llama_index 저장소의 JSONReader 컴포넌트에서 깊게 중첩된 JSON 파일 파싱 시 제어되지 않는 재귀로 인한 서비스 거부(DoS) 취약점입니다. Python의 최대 재귀 깊이 제한에 도달하면 높은 리소스 소비와 프로세스 충돌을 초래합니다. v0.12.38 버전에서 해결되었습니다.
💡 쉬운 설명
프로그램이 깊게 중첩된 JSON 파일을 처리할 때 자기 자신을 반복해서 호출하다가 한계에 도달해 멈춥니다. 악의적인 사용자가 복잡한 JSON 파일을 보내면 서버를 다운시킬 수 있습니다.
🇺🇸 원문 (English)
A denial of service vulnerability exists in the JSONReader component of the run-llama/llama_index repository, specifically in version v0.12.37. The vulnerability is caused by uncontrolled recursion when parsing deeply nested JSON files, which can lead to Python hitting its maximum recursion depth limit. This results in high resource consumption and potential crashes of the Python process. The issue is resolved in version 0.12.38.
📍 영향받는 시스템
run-llama/llama_index v0.12.37 및 그 이전 버전
⚔️ 공격 벡터
깊게 중첩된 악의적 JSON 파일을 JSONReader에 전달하여 재귀 깊이 초과 유발
🛡️ 대응 방법
llama_index를 v0.12.38 이상으로 업그레이드
🔧 검증 코드
Version 필드에서 0.12.38 이상이면 안전, 0.12.37 이하면 취약
pip show llama-index | grep Version