CVE-2024-32982
published high CVSS 3.1 · 8.2Litestar and Starlite affected by Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| litestar-org | — | litestar>= 2.8.0, < 2.8.3 · >= 1.37.0, <= 1.51.14 · >= 2.7.0, < 2.7.2 · >= 2.0.0, < 2.6.4 | Affected | Not stated | GitHub_M |
| starliteproject | — | starlite1.37.0 through 1.51.14 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| starliteproject | — | starlite2.0.0 to < 2.6.4 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| starliteproject | — | starlite2.7.0 to < 2.7.2 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| starliteproject | — | starlite2.8.0 to < 2.8.3 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| litestar-org | litestar | >= 2.8.0, < 2.8.3 (affected)>= 1.37.0, <= 1.51.14 (affected)>= 2.7.0, < 2.7.2 (affected)>= 2.0.0, < 2.6.4 (affected) | GitHub_M · cna |
| starliteproject | starlite | 1.37.0 through 1.51.14 (affected · custom)Default: unknown | CISA-ADP · adp |
| starliteproject | starlite | 2.0.0 to < 2.6.4 (affected · custom)Default: unknown | CISA-ADP · adp |
| starliteproject | starlite | 2.7.0 to < 2.7.2 (affected · custom)Default: unknown | CISA-ADP · adp |
| starliteproject | starlite | 2.8.0 to < 2.8.3 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3Provider assertions
3GitHub_M · cna
Litestar and Starlite affected by Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 80288182038f6b15cad0f2e7b1269abee79eed3a4c61835cdd80d2e1c6e3d766
- Ingested
- 23 Sep 2026, 08:22:54 UTC
- Source record
- Official CVE record