CVE-2024-32982 json
Litestar and Starlite affected by Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
published 2024-05-06 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1511 , GHSA-83pv-qr33-2vcf , PYSEC-2026-1552 , PYSEC-2026-2605
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi litestar 2.6.4, 2.7.2, 2.8.3
- pypi starlite 1.51.16
- starliteproject starlite 2.6.4, 2.7.2, 2.8.3
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.72% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| OSV | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | litestar | >=2.8.0, <2.8.3 >=2.7.0, <2.7.2 >=2.0.0, <2.6.4 |
2.8.3 2.7.2 2.6.4 |
| pypi | starlite | >=1.37.0, <1.51.16 |
1.51.16 |
Affected products
- litestar-org litestar
- starliteproject starlite
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/litestar-org/litestar/commit/57e706e7effdc182fc9a2af5981bc88afb21851b
web
-
github.com
/litestar-org/litestar/commit/a07b79b84d8717bec5ac4d4674c1e4920ba9c813
web
-
github.com
/litestar-org/litestar/security/advisories/GHSA-83pv-qr33-2vcf
web
-
github.com
/litestar-org/litestar/blob/main/litestar/static_files/base.py#L70
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-32982
advisory
-
github.com
/litestar-org/litestar
package
-
pypi.org
/project/litestar
package
-
github.com
/advisories/GHSA-83pv-qr33-2vcf
advisory
Sources
- CVE List CVE-2024-32982
- GitHub Advisory GHSA-83pv-qr33-2vcf
- NVD CVE-2024-32982
- OSV PYSEC-2026-1552
- OSV PYSEC-2026-2605
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.