Directory Traversal Affecting lollms package, versions [,9.5.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-LOLLMS-7547134
  • published 21 Jul 2024
  • disclosed 20 Jul 2024
  • credit HaiNguyen

How to fix?

Upgrade lollms to version 9.5.1 or higher.

Overview

lollms is a python library for AI personality definition

Affected versions of this package are vulnerable to Directory Traversal through the apply_settings function. An attacker can manipulate the path and potentially write to important system folders by exploiting the inadequate security of the sanitize_path function, particularly the discussion_db_name parameter.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
7 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None