Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. litestar
  4. ›
  5. CVE-2024-42370

CVE-2024-42370: Litestar has an environment Variable injection in `docs-preview.yml` workflow

August 9, 2024

Litestar’s docs-preview.yml workflow is vulnerable to Environment Variable injection which may lead to secret exfiltration and repository manipulation.

References

  • github.com/advisories/GHSA-4hq2-rpgc-r8r7
  • github.com/litestar-org/litestar
  • github.com/litestar-org/litestar/blob/ffaf5616b19f6f0f4128209c8b49dbcb41568aa2/.github/workflows/docs-preview.yml
  • 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

Code Behaviors & Features

Detect and mitigate CVE-2024-42370 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.10.0

Solution

Unfortunately, there is no solution available yet.

Impact 8.3 HIGH

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

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

pypi/litestar/CVE-2024-42370.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.