Information Exposure Affecting github.com/opentofu/opentofu/internal/encryption package, versions >=1.8.0 <1.8.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-GITHUBCOMOPENTOFUOPENTOFUINTERNALENCRYPTION-8162003
  • published 4 Oct 2024
  • disclosed 3 Oct 2024
  • credit Unknown

Introduced: 3 Oct 2024

CVE NOT AVAILABLE CWE-200 Open this link in a new tab

How to fix?

Upgrade github.com/opentofu/opentofu/internal/encryption to version 1.8.3 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure due to the static evaluation of module sources, versions and backend configurations. An attacker can expose sensitive variables and locals.

Workaround

This vulnerability can be mitigated by checking that you are not using sensitive variables in module sources and versions, as well as backend configurations.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    Present
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None