CVE-2022-39326CWE-94

kartverket/github-workflows's run-terraform allows for RCE via terraform plan

High · published October 25, 2022

CVSS v3.1
8.8
EPSS
2%
Percentile
76.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01648 · 76.3th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2022-10-25T00:00Z
EPSS history
Timeline
  • 25 OCT 00:00Z
    kartverket/github-workflows's run-terraform allows for RCE via terraform plan
    cvelistv5