CVE-2024-5182 Path Traversal in mudler/localai
mudler/localai에서 경로 횡단
설명
A path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model` parameter during the model deletion process to delete arbitrary files. Specifically, by crafting a request with a manipulated `model` parameter, an attacker can traverse the directory structure and target files outside of the intended directory, leading to the deletion of sensitive data. This vulnerability is due to insufficient input validation and sanitization of the `model` parameter.
경로 횡단 취약점이 mudler/localai 버전 2.14.0에 존재하며, 여기서 공격자는 모델 삭제 프로세스 중에 `model` 매개 변수를 악용하여 임의의 파일을 삭제할 수 있습니다. 특히, 조작된 `model` 파라미터로 요청을 작성함으로써, 공격자는 디렉토리 구조를 가로질러 의도된 디렉토리 외부의 파일을 타겟팅할 수 있으며, 이로 인해 민감한 데이터가 삭제될 수 있다. 이 취약점은 'model' 파라미터의 입력 유효성 검사 및 초기화가 불충분하기 때문입니다.
영향 받는 제품 제품 1개
-
해결 버전 있음
mudler
mudler/localai
영향 받는 버전
- 2.16.0 미만
해결 버전
- 2.16.0 이상