RCE in Step-Security Harden-Runner
CVE-2024-52587
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.028 (86.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 86.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.028 · newest: 0.028 · change: 0.000
Affected products
- Step-Security Harden-Runner — versions < 2.10.2
Weakness classification (CWE)
References
- github.com/step-security/harden-runner/security/advisories/GHSA-g85v-wf27-67xc
- github.com/step-security/harden-runner/commit/0080882f6c36860b6ba35c610c98ce87d…
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb…
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb…
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb…
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb…
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb…
- github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb…
Frequently asked questions
- What is CVE-2024-52587?
- CVE-2024-52587 is a high-severity vulnerability in Step-Security Harden-Runner, classified under OS Command Injection. CVSS score: 8.8/10. Published 2024-11-18.
- How severe is CVE-2024-52587?
- High severity. CVSS v3 base score is 8.8 out of 10.