GitHub Advisoryadvisory · PyPI

GHSA-8mrm-r7h3-c3hj LoLLMS vulnerable to Expected Behavior Violation

HIGH Published 2024-07-20 Modified 2024-09-13 Official page ↗
Aliases
CVE-2024-6281
Ecosystem
PyPI
Packages
lollms
Severity
High
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Weaknesses
CWE-22, CWE-440
Reviewed
2024-09-13

Affected packages

• PyPI lollms: < 9.5.1 → fixed in 9.5.1

Description

A path traversal vulnerability exists in the `apply_settings` function of parisneo/lollms versions prior to 9.5.1. The `sanitize_path` function does not adequately secure the `discussion_db_name` parameter, allowing attackers to manipulate the path and potentially write to important system folders.

Related

Alias · CVE (1)

  • CVE-2024-6281 A path traversal vulnerability exists in the `apply_settings` function of parisneo/lollms versions prior to 9.5.1. vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-440 Expected Behavior Violation weakness

References