CVE-2024-42370
Litestar is an Asynchronous Server Gateway Interface (ASGI) …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/litestar-org/litestar/actions/runs/10081936962/job/27875077668#step:1:17
- github.com/litestar-org/litestar/blob/ffaf5616b19f6f0f4128209c8b49dbcb41568aa2/.github/wor
- github.com/litestar-org/litestar/commit/84d351e96aaa2a1338006d6e7221eded161f517b
- github.com/litestar-org/litestar/security/advisories/GHSA-4hq2-rpgc-r8r7
- nvd.nist.gov/vuln/detail/CVE-2024-42370
- cve.org/CVERecord?id=CVE-2024-42370
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.