Path Traversal in Litestar-Org Litestar
CVE-2024-32982
Litestar and Starlite is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to 2.8.3, 2.7.2, and 2.6.4, a Local File Inclusion (LFI) vulnerability has been discovered in the static file serving component of LiteStar. This vulnerability allows attackers to exploit path traversal flaws, enabling unauthorized access to sensitive files outside the designated directories. Such access can lead to the disclosure of sensitive information or potentially compromise the server. The vulnerability is located in the file path handling mechanism within the static content serving function, specifically at `litestar/static_files/base.py`. This vulnerability is fixed in versions 2.8.3, 2.7.2, and 2.6.4.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.007 (51.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N.
Affected products
- Litestar-org Litestar — versions >= 2.8.0, < 2.8.3, >= 1.37.0, <= 1.51.14, >= 2.7.0, < 2.7.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-32982?
- CVE-2024-32982 is a high-severity vulnerability in Litestar-Org Litestar, classified under Path Traversal. CVSS score: 8.2/10. Published 2024-05-06.
- How severe is CVE-2024-32982?
- High severity. CVSS v3 base score is 8.2 out of 10.
- Is CVE-2024-32982 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.