RCE in Litestar-Org Litestar
CVE-2024-42370
Litestar is an Asynchronous Server Gateway Interface (ASGI) framework. In versions 2.10.0 and prior, Litestar's `docs-preview.yml` workflow is vulnerable to Environment Variable injection which may lead to secret exfiltration and repository manipulation. This issue grants a malicious actor the permission to write issues, read metadata, and write pull requests. In addition, the `DOCS_PREVIEW_DEPLOY_TOKEN` is exposed to the attacker. Commit 84d351e96aaa2a1338006d6e7221eded161f517b contains a fix for this issue.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:H.
EPSS exploit prediction
EPSS: 0.007 (49.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 49.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Litestar-Org Litestar — versions <= 2.10.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/litestar-org/litestar/security/advisories/GHSA-4hq2-rpgc-r8r7
- github.com/litestar-org/litestar/commit/84d351e96aaa2a1338006d6e7221eded161f517b
- github.com/litestar-org/litestar/actions/runs/10081936962/job/27875077668
- github.com/litestar-org/litestar/blob/ffaf5616b19f6f0f4128209c8b49dbcb41568aa2/…
Frequently asked questions
- What is CVE-2024-42370?
- CVE-2024-42370 is a high-severity vulnerability in Litestar-Org Litestar, classified under OS Command Injection. CVSS score: 8.3/10. Published 2024-08-12.
- How severe is CVE-2024-42370?
- High severity. CVSS v3 base score is 8.3 out of 10.
- Is CVE-2024-42370 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.