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. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (11th 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 Learn

Learn about Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LOLLMS-7251688
  • published13 Jun 2024
  • disclosed12 Jun 2024
  • credit0xanis

Introduced: 12 Jun 2024

CVE-2024-4315  (opens in a new tab)
CWE-22  (opens in a new tab)

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