Skip to content

CVE-2024-52587 Harden-Runner has command injection weaknesses in `setup.ts` and `arc-runner.ts`

LowCVSS 2.7 EPSS 2.8%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

StepSecurity's Harden-Runner provides network egress filtering and runtime security for GitHub-hosted and self-hosted runners. Versions of step-security/harden-runner prior to v2.10.2 contain multiple command injection weaknesses via environment variables that could potentially be exploited under specific conditions. However, due to the current execution order of pre-steps in GitHub Actions and the placement of harden-runner as the first step in a job, the likelihood of exploitation is low as the Harden-Runner action reads the environment variable during the pre-step stage. There are no known exploits at this time. Version 2.10.2 contains a patch.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
step security harden runner < 2.10.2 2.10.2 Fixed
step-security/harden-runner(GitHub Actions) < 2.10.2 2.10.2 Fixed
step-security/harden-runner = < 2.10.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
step-security/harden-runner(GitHub Actions) < 2.10.2 2.10.2
step-security/harden-runner = < 2.10.2 No fix listed
step security harden runner < 2.10.2 2.10.2

References