2024-11-14 16:00:35 +00:00
{
2024-11-18 23:00:32 +00:00
"data_version" : "4.0" ,
2024-11-14 16:00:35 +00:00
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"CVE_data_meta" : {
"ID" : "CVE-2024-52587" ,
2024-11-18 23:00:32 +00:00
"ASSIGNER" : "security-advisories@github.com" ,
"STATE" : "PUBLIC"
2024-11-14 16:00:35 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2024-11-18 23:00:32 +00:00
"value" : "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."
}
]
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')" ,
"cweId" : "CWE-78"
}
]
2024-11-14 16:00:35 +00:00
}
]
2024-11-18 23:00:32 +00:00
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "step-security" ,
"product" : {
"product_data" : [
{
"product_name" : "harden-runner" ,
"version" : {
"version_data" : [
{
"version_affected" : "=" ,
"version_value" : "< 2.10.2"
}
]
}
}
]
}
}
]
}
} ,
"references" : {
"reference_data" : [
{
"url" : "https://github.com/step-security/harden-runner/security/advisories/GHSA-g85v-wf27-67xc" ,
"refsource" : "MISC" ,
"name" : "https://github.com/step-security/harden-runner/security/advisories/GHSA-g85v-wf27-67xc"
} ,
{
"url" : "https://github.com/step-security/harden-runner/commit/0080882f6c36860b6ba35c610c98ce87d4e2f26f" ,
"refsource" : "MISC" ,
"name" : "https://github.com/step-security/harden-runner/commit/0080882f6c36860b6ba35c610c98ce87d4e2f26f"
} ,
{
"url" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/arc-runner.ts#L40-L44" ,
"refsource" : "MISC" ,
"name" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/arc-runner.ts#L40-L44"
} ,
{
"url" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/arc-runner.ts#L53" ,
"refsource" : "MISC" ,
"name" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/arc-runner.ts#L53"
} ,
{
"url" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/arc-runner.ts#L57" ,
"refsource" : "MISC" ,
"name" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/arc-runner.ts#L57"
} ,
{
"url" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/arc-runner.ts#L61" ,
"refsource" : "MISC" ,
"name" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/arc-runner.ts#L61"
} ,
{
"url" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/setup.ts#L169" ,
"refsource" : "MISC" ,
"name" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/setup.ts#L169"
} ,
{
"url" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/setup.ts#L229" ,
"refsource" : "MISC" ,
"name" : "https://github.com/step-security/harden-runner/blob/951b48540b429070694bc8abd82fd6901eb123ca/src/setup.ts#L229"
}
]
} ,
"source" : {
"advisory" : "GHSA-g85v-wf27-67xc" ,
"discovery" : "UNKNOWN"
2024-11-14 16:00:35 +00:00
}
}