CVE-2022-39326

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductKartverket Github-workflows
PublishedOct 25, 2022
First seenOct 25, 2022

How to fix

Update
  • kartverket github-workflows2.7.5 or later

Affected products

ProductAffected versionsFixed in
kartverket github-workflowsv < 2.7.52.7.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-39326 · Kartverket Github-workflows · Dark Radar