RCE in Kartverket Github-Workflows
CVE-2022-39326
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.013 (69.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 70th percentile — 69.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: +0.000
Affected products
- Kartverket Github-Workflows — versions < 2.7.5
Weakness classification (CWE)
References
- github.com/kartverket/github-workflows/security/advisories/GHSA-f9qj-7gh3-mhj4 (Third Party Advisory)
- github.com/kartverket/github-workflows/pull/19 (Patch, Third Party Advisory)
- github.com/kartverket/github-workflows/releases/tag/v2.7.5 (Patch, Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2022-39326?
- CVE-2022-39326 is a high-severity vulnerability in Kartverket Github-Workflows, classified under Code Injection. CVSS score: 8.8/10. Published 2022-10-25.
- How severe is CVE-2022-39326?
- High severity. CVSS v3 base score is 8.8 out of 10.