CVE-2024-42370 Litestar repository vulnerable to Environment Variable injection in `docs-preview.yml` workflow
HighCVSS 8.3
EPSS 1.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| litestar-org litestar | <= 2.10.0; = <= 2.10.0 | after 2.10.0 | Fixed |
| pypi litestar(PyPI) | <= 2.10.0; = 1.0.0a0; = 2.0.0; = 2.0.0a3 +44 more | after 2.10.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi litestar(PyPI) | <= 2.10.0 | No fix listed |
| pypi litestar(PyPI) | = 1.0.0a0 | No fix listed |
| pypi litestar(PyPI) | = 2.0.0 | No fix listed |
| pypi litestar(PyPI) | = 2.0.0a3 | No fix listed |
| pypi litestar(PyPI) | = 2.0.0a4 | No fix listed |
| pypi litestar(PyPI) | = 2.0.0a5 | No fix listed |
| pypi litestar(PyPI) | = 2.0.0a6 | No fix listed |
| pypi litestar(PyPI) | = 2.0.0a7 | No fix listed |
| pypi litestar(PyPI) | = 2.0.0b1 | No fix listed |
| pypi litestar(PyPI) | = 2.0.0b2 | No fix listed |
| pypi litestar(PyPI) | = 2.0.0b3 | No fix listed |
| pypi litestar(PyPI) | = 2.0.0b4 | No fix listed |
| pypi litestar(PyPI) | = 2.0.0rc1 | No fix listed |
| pypi litestar(PyPI) | = 2.0.1 | No fix listed |
| pypi litestar(PyPI) | = 2.1.0 | No fix listed |
| pypi litestar(PyPI) | = 2.1.1 | No fix listed |
| pypi litestar(PyPI) | = 2.10.0 | No fix listed |
| pypi litestar(PyPI) | = 2.2.0 | No fix listed |
| pypi litestar(PyPI) | = 2.2.1 | No fix listed |
| pypi litestar(PyPI) | = 2.3.0 | No fix listed |
| pypi litestar(PyPI) | = 2.3.1 | No fix listed |
| pypi litestar(PyPI) | = 2.3.2 | No fix listed |
| pypi litestar(PyPI) | = 2.4.0 | No fix listed |
| pypi litestar(PyPI) | = 2.4.1 | No fix listed |
| pypi litestar(PyPI) | = 2.4.2 | No fix listed |
Show 25 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi litestar(PyPI) | = 2.4.3 | No fix listed |
| pypi litestar(PyPI) | = 2.4.4 | No fix listed |
| pypi litestar(PyPI) | = 2.4.5 | No fix listed |
| pypi litestar(PyPI) | = 2.5.0 | No fix listed |
| pypi litestar(PyPI) | = 2.5.1 | No fix listed |
| pypi litestar(PyPI) | = 2.5.2 | No fix listed |
| pypi litestar(PyPI) | = 2.5.3 | No fix listed |
| pypi litestar(PyPI) | = 2.5.4 | No fix listed |
| pypi litestar(PyPI) | = 2.5.5 | No fix listed |
| pypi litestar(PyPI) | = 2.6.0 | No fix listed |
| pypi litestar(PyPI) | = 2.6.1 | No fix listed |
| pypi litestar(PyPI) | = 2.6.2 | No fix listed |
| pypi litestar(PyPI) | = 2.6.3 | No fix listed |
| pypi litestar(PyPI) | = 2.6.4 | No fix listed |
| pypi litestar(PyPI) | = 2.7.0 | No fix listed |
| pypi litestar(PyPI) | = 2.7.1 | No fix listed |
| pypi litestar(PyPI) | = 2.7.2 | No fix listed |
| pypi litestar(PyPI) | = 2.8.0 | No fix listed |
| pypi litestar(PyPI) | = 2.8.1 | No fix listed |
| pypi litestar(PyPI) | = 2.8.2 | No fix listed |
| pypi litestar(PyPI) | = 2.8.3 | No fix listed |
| pypi litestar(PyPI) | = 2.9.0 | No fix listed |
| pypi litestar(PyPI) | = 2.9.1 | No fix listed |
| litestar-org litestar | = <= 2.10.0 | No fix listed |
| litestar-org litestar | <= 2.10.0 | No fix listed |
References
- https://github.com/litestar-org/litestar/security/advisories/GHSA-4hq2-rpgc-r8r7 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/litestar-org/litestar/commit/84d351e96aaa2a1338006d6e7221eded161f517b patch
- github.com product
- https://github.com/litestar-org/litestar/actions/runs/10081936962/job/27875077668#step:1:17
- https://github.com/litestar-org/litestar/blob/ffaf5616b19f6f0f4128209c8b49dbcb41568aa2/.github/workflows/docs-preview.yml
- github.com