Skip to content

Remote Code Execution vulnerability in `update-integration-tests` GitHub Action workflow

Critical
krassowski published GHSA-45gq-v5wm-82wg Jul 16, 2024

Package

actions extension-template (GitHub Actions)

Affected versions

<=4.3.2

Patched versions

4.3.3

Description

Repositories created using this template with test option include update-integration-tests.yml workflow which has an RCE vulnerability. Extension authors hosting their code on GitHub are urged to upgrade the template to the latest version.

To upgrade the template run:

pip install "copier~=9.2" jinja2-time
copier update --trust

If you made changes to update-integration-tests.yml, accept overwriting of this file and re-apply your changes later.

You may wish to temporarily disable GitHub Actions while working on the upgrade:

image

This option is available under:

https://github.com/your_org/your_repo/actions/workflows/update-integration-tests.yml

If you are upgrading from template version prior to 4.3.0 you may wish to leave out proposed changes to the release workflow for now as it requires additional configuration.

We recommend rebasing all open pull requests from untrusted users as actions may run using the version from the main branch at the time when the pull request was created.

Severity

Critical

CVE ID

CVE-2024-39700

Weaknesses

Credits