Path Traversal Affecting lollms package, versions [,5.9.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% (12th 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-7411419
  • published 28 Jun 2024
  • disclosed 27 Jun 2024
  • credit nhienit2010

How to fix?

Upgrade lollms to version 5.9.1 or higher.

Overview

lollms is a python library for AI personality definition

Affected versions of this package are vulnerable to Path Traversal through the /set_personality_config endpoint. An attacker can overwrite the configs/config.yaml file changing the server configuration for enhanced api access for remote code execution such as /execute_code.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

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