CVE-2024-42370
HIGH 8.3CVSS 3.1Withdrawn Advisory: Litestar has an environment Variable injection in `docs-preview.yml` workflow
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.
- Published
- 12 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-74CWE-78
- Also known as
- GHSA-4hq2-rpgc-r8r7
- Sources
- NVDJSONOSV GHSA-4hq2-rpgc-r8r7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | litestar | <= 2.10.0 |
References
- https://github.com/litestar-org/litestar/actions/runs/10081936962/job/27875077668#step:1:17 · WEB
- https://github.com/litestar-org/litestar/blob/ffaf5616b19f6f0f4128209c8b49dbcb41568aa2/.github/workflows/docs-preview.yml · WEB
- https://github.com/litestar-org/litestar/commit/84d351e96aaa2a1338006d6e7221eded161f517b · WEB
- https://github.com/litestar-org/litestar/security/advisories/GHSA-4hq2-rpgc-r8r7 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-42370 · ADVISORY
- https://github.com/litestar-org/litestar · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 12 Aug 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Aug 2024)