CVE-2022-39326
Prior to version 2.7.5, all users of the `run-terraform` reusable workflow from the kartverket/github-workflows repo are affected by a code injection vulnerability.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.30%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
kartverket/github-workflows are shared reusable workflows for GitHub Actions. Prior to version 2.7.5, all users of the `run-terraform` reusable workflow from the kartverket/github-workflows repo are affected by a code injection vulnerability. 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. Users should upgrade to at least version 2.7.5 to resolve the issue. As a workaround, review any pull requests from external users for malicious payloads before allowing them to trigger a build.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.30% probability · 69th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94
- Affected
- kartverket/github-workflows
- Source
- security-advisories@github.com
References
- https://github.com/kartverket/github-workflows/pull/19Patch, Third Party Advisory
- https://github.com/kartverket/github-workflows/releases/tag/v2.7.5Patch, Release Notes, Third Party Advisory
- https://github.com/kartverket/github-workflows/security/advisories/GHSA-f9qj-7gh3-mhj4Third Party Advisory
- https://github.com/kartverket/github-workflows/pull/19Patch, Third Party Advisory
- https://github.com/kartverket/github-workflows/releases/tag/v2.7.5Patch, Release Notes, Third Party Advisory
- https://github.com/kartverket/github-workflows/security/advisories/GHSA-f9qj-7gh3-mhj4Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.