CVE-2024-6985: Lord of Large Language Models (LoLLMs) path traversal vulnerability in the api open_personality_folder endpoint

CVE-2024-6985 · Severity: low · CVSS 3.1 · Published 2024-10-11

A path traversal vulnerability exists in the api open_personality_folder endpoint of parisneo/lollms-webui. This vulnerability allows an attacker to read any folder in the personality_folder on the victim's computer, even though sanitize_path is set. The issue arises due to improper sanitization of the personality_folder parameter, which can be exploited to traverse directories and access arbitrary files.

Technologies: lollms (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-6985 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-6985 being exploited in the wild.
How severe is CVE-2024-6985?
Low severity, with a CVSS score of 3.1, published 11 October 2024.
Which products and versions are affected?
lollms (PyPI) ECOSYSTEM:introduced=0,last_affected=9.5.1, GIT:introduced=0,fixed=28ee567a9a120967215ff19b96ab7515ce469620|ECOSYSTEM:introduced=0,fixed=5.9.0.
Is there a fix for CVE-2024-6985?
Yes. lollms (PyPI): upgrade to 5.9.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-6985?
Check whether you run lollms (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • lollms (PyPI): upgrade to 5.9.0 or later
    pip install "lollms>=5.9.0"

Affected products

  • lollms (PyPI) ECOSYSTEM:introduced=0,last_affected=9.5.1, GIT:introduced=0,fixed=28ee567a9a120967215ff19b96ab7515ce469620|ECOSYSTEM:introduced=0,fixed=5.9.0

Identifiers

  • CVE-2024-6985
  • GHSA-6h64-g7cj-hj56
  • PYSEC-2024-122

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.