VDB

CVE-2024-52587

CVE-2024-52587 PUBLISHED CVSS 2.7 LOW

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

Reported by github_m · Published November 18, 2024

step-security/harden-runner is fixed in 2.10.2 (GitHub Packages)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
step-security/harden-runnerGitHub Packages2.10.2

Risk scores

CVSS 4.0
2.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U

Affected products

VendorProductVersions
step-securityharden-runner< 2.10.2
step-securityharden-runner0
step_securityharden_runner0

Timeline

  • Nov 18, 2024 Coalition ESS Score (17 in total, the first dated here)
  • Nov 18, 2024 CVE Published
  • Nov 19, 2024 EPSS Score (30 in total, the first dated here)
  • Dec 5, 2025 CVE Updated
  • Jan 1, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-52587
vulnetix vdb fixes CVE-2024-52587

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-52587/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›