GHSA-f9qj-7gh3-mhj4

Suggest an improvement
Source
https://github.com/advisories/GHSA-f9qj-7gh3-mhj4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-f9qj-7gh3-mhj4/GHSA-f9qj-7gh3-mhj4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f9qj-7gh3-mhj4
Aliases
Published
2022-10-19T18:54:28Z
Modified
2023-11-08T04:10:19.005951Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
run-terraform allows for RCE via terraform plan
Details

Impact

What kind of vulnerability is it? Who is impacted?
All users of the run-terraform reusable workflow from the kartverket/github-workflows repo are affected. A malicious actor could potentially send a PR with a malicious payload leading to execution of arbitrary JavaScript code in the context of the workflow.

Patches

Has the problem been patched? What versions should users upgrade to?
Upgrade to at least 2.7.5 to resolve the issue.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?
Until you are able to upgrade, make sure to review any PRs from exernal users for malicious payloads before allowing them to trigger a build.

For more information

If you have any questions or comments about this advisory: * Open an issue in kartverket/github-workflows

Database specific
{
    "nvd_published_at": "2022-10-25T17:15:00Z",
    "github_reviewed_at": "2022-10-19T18:54:28Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-94"
    ]
}
References

Affected packages

GitHub Actions / kartverket/github-workflows

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.5