Medium, CVSS 6.9GitHub ActionsPublished
lychee link checking action affected by arbitrary code injection in composite action
CVE-2024-48908 · GHSA-65rg-554r-9j5x
- Affected
- GitHub Actions lycheeverse/lychee-action < 2.0.2
- Fixed in
- 2.0.2· Vendor fix available
- Issue
- There is a potential attack of arbitrary code injection vulnerability in lychee-setup of the composite action at action.yml. Details The GitHub Action variable inputs.lycheeVersion can be used to execute arbitrary code in the context of the action. PoC The previous example will just print all the environment variables to the summary of the workflow, but an attacker could potentially use this vector to compromise the security of the target repository, even passing unnotice because the action will run normally. Impact Low
Recommended action: Upgrade to 2.0.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.