CVSS 6.5 MEDIUM Lộ dữ liệu

Immich: Unauthenticated filesystem path injection (arbitrary directory write + recursive delete) in the machine-learning service

Công bố
Cập nhật
Lần đầu thấy
Nguồn
NVD, CVE.org

Mô tả

Immich is a high-performance self-hosted photo and video management solution. Prior to 3.3.0, the unauthenticated machine-learning /predict endpoint in machine-learning/immich_ml/main.py accepted an options object and passed its values into model construction in machine-learning/immich_ml/models/base.py without restricting security-sensitive parameters. An attacker with network access to the service could set cache_dir to an arbitrary writable path, causing model downloads to write there and causing clear_cache() to pass that path to shutil.rmtree() after selected model-loading failures. Depending on filesystem permissions and the selected path, this could modify files in mounted data locations or recursively delete an attacker-selected directory. The model-name allowlist prevents this issue from becoming arbitrary-model deserialization or code execution. This issue is fixed in version 3.3.0.

Điểm và phân loại

CVSS
6.5 MEDIUM v3.1
Nguồn điểm
NVD
Mức độ (theo nguồn)
MEDIUM
EPSS
—
CWE
CWE-22, CWE-73

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

Ảnh hưởng

Sản phẩm

  • immich-app immich

Vì sao bị lọc

  • CVSS 6.5 < 8.0 và không thuộc CISA KEV

Loại tác động

Lộ dữ liệu
CWE-22

Dữ liệu riêng của nguồn

CVE.org · Đơn vị cấp mã
GitHub_M

Tham khảo