CVE-2024-42370CWE-78

Litestar repository vulnerable to Environment Variable injection in `docs-preview.yml` workflow

High · published August 9, 2024

CVSS v3.1
8.3
EPSS
1%
Percentile
50.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.00651 · 50.6th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2024-08-09T18:29Z
EPSS history
Timeline
  • 09 AUG 18:29Z
    Litestar repository vulnerable to Environment Variable injection in `docs-preview.yml` workflow
    cvelistv5