Vulnerability · Published Jun 6, 2024 · Assigned by @huntr_ai

CVE-2024-3429Path Traversal in parisneo/lollms

Critical 9.8

In plain English

A critical-severity security flaw in parisneo/lollms from parisneo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 28.3% (higher than 98% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)9.8Critical
Exploit odds (30 days)28.3%top 1.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A path traversal vulnerability exists in the parisneo/lollms application, specifically within the `sanitize_path_from_endpoint` and `sanitize_path` functions in `lollms_core\lollms\security.py`. This vulnerability allows for arbitrary file reading when the application is running on Windows. The issue arises due to insufficient sanitization of user-supplied input, enabling attackers to bypass the path traversal protection mechanisms by crafting malicious input. Successful exploitation could lead to unauthorized access to sensitive files, information disclosure, and potentially a denial of service (DoS) condition by including numerous large or resource-intensive files. This vulnerability affects the latest version prior to 9.6.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlollms9.5.0GHSA-3x47-w4rx-6pm7
PyPIlollms9.5.0PYSEC-2026-1583

Affected products (as reported)

VendorProductVersions
parisneo parisneo/lollms unspecified – before 9.6

Weakness: CWE-29 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References