Vulnerability · Published Nov 18, 2024 · Assigned by GitHub_M

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

High 8.8

In plain English

A high-severity OS command injection in harden-runner from step-security. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.8% (higher than 86% of all known vulnerabilities).

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)2.8%top 13.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
step-security harden-runner < 2.10.2

Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References