GitHub Advisoryadvisory · PyPI

GHSA-7pgr-32fx-c6x9 Lord of Large Language Models (LoLLMs) Server path traversal vulnerability in lollms_file_system.py

LOW Published 2024-10-11 Modified 2024-10-11 Official page ↗
Aliases
CVE-2024-6971
Ecosystem
PyPI
Packages
lollms
Severity
Low
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L
Weaknesses
CWE-22
Reviewed
2024-10-11

Affected packages

• PyPI lollms: <= 9.5.1 (no fix yet)

Description

A path traversal vulnerability exists in the ParisNeo/lollms repository, specifically in the `lollms_file_system.py` file. The functions `add_rag_database`, `toggle_mount_rag_database`, and `vectorize_folder` do not implement security measures such as `sanitize_path_from_endpoint` or `sanitize_path`. This allows an attacker to perform vectorize operations on `.sqlite` files in any directory on the victim's computer, potentially installing multiple packages and causing a crash.

Related

Alias · CVE (1)

  • CVE-2024-6971 A path traversal vulnerability exists in the parisneo/lollms-webui repository, specifically in the `lollms_file_system.py` file. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References