Argos JavaScript: CI Branch Name OS Command Injection in @argos-ci/core
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| argos-ci | argos-javascript | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Argos-ci | Argos-javascript |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4x45-gxvp-6283 | @argos-ci/core: CI Branch Name OS Command Injection |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.638% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Argos-ci
Argos-ci argos-javascript |
|
| Vendors & Products |
Argos-ci
Argos-ci argos-javascript |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Argos JavaScript provides official Argos SDKs for JavaScript. Prior to Argos core package version 6.2.1, attacker-controlled CI branch or ref values from GITHUB_HEAD_REF or ARGOS_BRANCH can flow through config.branch and getMergeBaseCommitSha() when hasRemoteContentAccess is false. The gitFetch() and gitMergeBase() functions in packages/core/src/ci-environment/git.ts interpolate these values into execSync() command strings executed by /bin/sh -c, so shell metacharacters in a pull-request branch name can execute arbitrary commands with the Argos upload process privileges on the CI runner. Successful exploitation can expose CI secrets, alter build artifacts, or compromise the runner. This issue is fixed in Argos core package version 6.2.1. | |
| Title | Argos JavaScript: CI Branch Name OS Command Injection in @argos-ci/core | |
| Weaknesses | CWE-78 | |
| References |
|
|
| Metrics |
cvssV3_1
|