Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. lollms
  4. ›
  5. CVE-2024-6971

CVE-2024-6971: Lord of Large Language Models (LoLLMs) Server path traversal vulnerability in lollms_file_system.py

October 11, 2024

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.

References

  • github.com/ParisNeo/lollms
  • github.com/ParisNeo/lollms/commit/aeace796d861e922133b769710019608a6363264
  • github.com/advisories/GHSA-7pgr-32fx-c6x9
  • huntr.com/bounties/fbfe7cd0-99fb-4305-bd07-8b573364109e
  • nvd.nist.gov/vuln/detail/CVE-2024-6971

Code Behaviors & Features

Detect and mitigate CVE-2024-6971 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 9.5.1

Solution

Unfortunately, there is no solution available yet.

Impact 3.4 LOW

CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/lollms/CVE-2024-6971.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:03 +0000.