Skip to content

Choose a tag to compare

@jazzsequence jazzsequence released this 03 Sep 15:05
· 6 commits to 0.x since this release
cfedff7

Action Required

This release fixes a command injection issue via the git_commit_message parameter.
The passed value was previously being interpolated into a shell string and run through eval, so shell metacharacters in it were executed rather than passed as text. Arbitrary commands could run on the runner, which holds PANTHEON_MACHINE_TOKEN and PANTHEON_SSH_KEY.

Affected versions are 0.9.0 - 0.9.3 when a workflow passes attacker-influenceable text in a PR title, branch name or body into git_commit_message, on a site with an existing live environment and not using skip_build_tools: true. The default generated message contains no caller-controlled text, so default configurations are not affected.

< 0.9.0 versions are also unaffected as they pass the message as a single quoted argument.

It is recommended to upgrade to 0.9.4 as soon as possible or avoid passing untrusted text into git_commit_message if you cannot update immediately.

Reported by @ndewhurst. (#175)

What's Changed

Full Changelog: 0.9.3...0.9.4