Vulnerability Details : 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.
Products affected by CVE-2022-39326
- cpe:2.3:a:kartverket:github-workflows:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-39326
0.24%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 65 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-39326
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
GitHub, Inc. |
CWE ids for CVE-2022-39326
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2022-39326
-
https://github.com/kartverket/github-workflows/releases/tag/v2.7.5
Release v2.7.5 · kartverket/github-workflows · GitHubPatch;Release Notes;Third Party Advisory
-
https://github.com/kartverket/github-workflows/pull/19
Sanitize usage of terraform output by esphen · Pull Request #19 · kartverket/github-workflows · GitHubPatch;Third Party Advisory
-
https://github.com/kartverket/github-workflows/security/advisories/GHSA-f9qj-7gh3-mhj4
run-terraform allows for RCE via terraform plan · Advisory · kartverket/github-workflows · GitHubThird Party Advisory
Jump to