Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/opentofu/opentofu
  4. ›
  5. GHSA-22w5-2fxg-vrwx

GHSA-22w5-2fxg-vrwx: OpenTofu has high CPU usage when using K8S remote state backend or when parsing specifically crafted TLS certificates from untrusted or compromised servers

August 20, 2026

When OpenTofu performs requests against an untrusted (or compromised) third-party server or connects to an attacker-controlled server, the initial connection negotiation can produce high CPU usage, leading to possible denial of service.

These vulnerabilities do not permit arbitrary code execution or allow disclosure of confidential information.

References

  • github.com/advisories/GHSA-22w5-2fxg-vrwx
  • github.com/opentofu/opentofu/issues/4242
  • github.com/opentofu/opentofu/issues/4243
  • github.com/opentofu/opentofu/issues/4244
  • github.com/opentofu/opentofu/releases/tag/v1.11.9
  • github.com/opentofu/opentofu/releases/tag/v1.12.2
  • github.com/opentofu/opentofu/security/advisories/GHSA-22w5-2fxg-vrwx

Code Behaviors & Features

Detect and mitigate GHSA-22w5-2fxg-vrwx with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.11.9, all versions starting from 1.12.0-beta1 before 1.12.2

Fixed versions

  • 1.11.9
  • 1.12.2

Solution

Upgrade to versions 1.11.9, 1.12.2 or above.

Impact 2.6 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/opentofu/opentofu/GHSA-22w5-2fxg-vrwx.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 08 Sep 2026 00:17:03 +0000.