Path Traversal Affecting lollms package, versions [9.3.0,9.5.0)


Severity

Recommended
0.0
critical
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-7251688
  • published 13 Jun 2024
  • disclosed 12 Jun 2024
  • credit 0xanis

How to fix?

Upgrade lollms to version 9.5.0 or higher.

Overview

lollms is a python library for AI personality definition

Affected versions of this package are vulnerable to Path Traversal due to improper sanitization of Windows-style paths (\) in the sanitize_path_from_endpoint function. An attacker with access to the application can read or delete any file on the windows filesystem.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
9.1 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    High