Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/opentofu/opentofu
  4. ›
  5. GHSA-pxh5-6rrc-8rjv

GHSA-pxh5-6rrc-8rjv: OpenTofu: Excessive resource usage in "tofu init" when installing dependencies from attacker-controlled server

May 20, 2026

When installing provider or module packages from attacker-controlled servers, the server may cause tofu initto enter an infinite loop sending garbage data to that server.

Those who depend on modules or providers served from untrusted third-party servers may experience denial of service due to tofu init failing to complete successfully. Other processes running on the same computer as OpenTofu may also fail or have their performance degraded due to the depletion of shared system resources.

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

References

  • github.com/advisories/GHSA-pxh5-6rrc-8rjv
  • github.com/opentofu/opentofu/issues/4094
  • github.com/opentofu/opentofu/pull/4098
  • github.com/opentofu/opentofu/releases/tag/v1.11.8
  • github.com/opentofu/opentofu/security/advisories/GHSA-pxh5-6rrc-8rjv

Code Behaviors & Features

Detect and mitigate GHSA-pxh5-6rrc-8rjv 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.8

Fixed versions

  • 1.11.8

Solution

Upgrade to version 1.11.8 or above.

Impact 3.1 LOW

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

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

go/github.com/opentofu/opentofu/GHSA-pxh5-6rrc-8rjv.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 14 Jun 2026 12:16:08 +0000.