CVE-2024-52587

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

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.

Category

2.7
CVSS
Severity: Low
CVSS 4.0 •
CVSS 3.1 •
EPSS 0.39%
Affected: step-security harden-runner
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-52587?
CVE-2024-52587 has been scored as a low severity vulnerability.
How to fix CVE-2024-52587?
To fix CVE-2024-52587, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-52587 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-52587 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-52587?
CVE-2024-52587 affects step-security harden-runner.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.