lowCVSS 3.1Vulnerability

GHSA-pxh5-6rrc-8rjv

### Impact Unauthenticated denial of service. ### Summary When installing provider or module packages from attacker-controlled servers, the server may cause `tofu init`to 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. ### Details OpenTofu relies a third-party implementations of HTTP2 from the standard library of the Go programming language. The Go project has recently published the following advisory for that implementation, which indirectly affects OpenTofu's behavior: - [CVE-2026-33814](https://www.cve.org/CVERecord?id=CVE-2026-33814): Infinite loop in HTTP/2 transport when given bad SETTINGS_MAX_FRAME_SIZE in net/http/internal/http2 in golang.org/x/net OpenTofu's threat model considers module and package dependencies to be arbitrary third-party code that operators must carefully review after installation. However, these particular problems affect the process of _installing_ these dependencies with `tofu init`, and so can potentially occur before an operator has had the opportunity to review what is being installed. In particular, the described problem would occur before OpenTofu actually retrieves a dependency package and performs checksum verification, because it affect the transport of the packages rather than the content of the packages. An attacker can exploit this by controlling the HTTP2 implementation of the server where the dependencies are hosted, causing it to send a crafted "SETTINGS" frame which sets the maximum frame size to zero. However, the attacker must also coerce an OpenTofu operator into a

Properties

ghsa_id
GHSA-pxh5-6rrc-8rjv
severity
low
summary
OpenTofu: Excessive resource usage in "tofu init" when installing dependencies from attacker-controlled server
cvss_score
3.1
cve_id
GHSA-pxh5-6rrc-8rjv
cvss_vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
is_ghsa_only
true
ghsa_published
2026-05-20T15:35:45Z
source_url
https://github.com/advisories/GHSA-pxh5-6rrc-8rjv
ghsa_updated
2026-05-20T15:35:46Z

Related Entities (4)

VULNERABLE_TO (1)

[Software]go/github.com/opentofu/opentofu

AFFECTS (1)

[Software]go/github.com/opentofu/opentofu

HAS_WEAKNESS (1)

[Weakness]Loop with Unreachable Exit Condition ('Infinite Loop')

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph