CVE-2024-52587
StepSecurity's Harden-Runner provides network egress filtering and …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/a
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/a
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/a
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/a
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/s
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/s
- github.com/step-security/harden-runner/commit/0080882f6c36860b6ba35c610c98ce87d4e2f26f
- github.com/step-security/harden-runner/security/advisories/GHSA-g85v-wf27-67xc
- nvd.nist.gov/vuln/detail/CVE-2024-52587
- cve.org/CVERecord?id=CVE-2024-52587
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.