CVE-2024-42370 HIGH

CVE-2024-42370: Litestar repository vulnerable to Environment Variable injection in `docs-preview.yml` workflow

Vendor Litestar-Org
Product litestar
Weakness CWE-78
Published August 9, 2024
Last update August 19, 2024

CVSS base score

8.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 9, 2024 CVE published
August 19, 2024 Record updated