CVE-2022-36182: Github.com/hashicorp/boundary Hashicorp Boundary Vulnerable To Clickjacking Vulnerability

MODERATE
Advisory Identifier: GHSA-xqv2-3vvq-qg6r
CVSS 6.1
CWE-1021
Published
Advisory Summary

CVE-2022-36182 is a MODERATE (CVSS 6.1) hashicorp boundary vulnerable to clickjacking vulnerability (CWE-1021: Improper Restriction of Rendered UI Layers or Frames) affecting Github.com/hashicorp/boundary libraries in the Go ecosystem. The issue involves hashicorp boundary vulnerable to clickjacking. Remediation is available in the latest vendor maintenance releases.

CVE-2022-36182 at a Glance

CVE Identifier CVE-2022-36182
GHSA Identifier GHSA-xqv2-3vvq-qg6r
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-1021: Improper Restriction of Rendered UI Layers or Frames
Affected Product Github.com/hashicorp/boundary
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2022-36182

To remediate this vulnerability, upgrade all affected Github.com/hashicorp/boundary dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/hashicorp/boundary fixed: Latest secure release
Upgrade github.com/hashicorp/boundary to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/hashicorp/boundary

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-36182, inspect your project dependencies for Github.com/hashicorp/boundary:

inspect dependencies for github.com/hashicorp/boundary

Analyze the terminal output to locate any version of Github.com/hashicorp/boundary in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1021: Improper Restriction of Rendered UI Layers or Frames, where the web application does not restrict or incorrectly restricts frame objects or ui layers that belong to another application or domain. In Github.com/hashicorp/boundary, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Hashicorp Boundary is vulnerable to Clickjacking which allow for the interception of login credentials, re-direction of users to malicious sites, or causing users to perform malicious actions on the site.

CVE-2022-36182 Affected Github.com/hashicorp/boundary Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/hashicorp/boundary
Go
≤ 0.11.0

References

Frequently Asked Questions

What is CVE-2022-36182?
CVE-2022-36182 is a security vulnerability in Github.com/hashicorp/boundary involving Hashicorp Boundary vulnerable to clickjacking under CWE-1021: Improper Restriction of Rendered UI Layers or Frames.
Which Github.com/hashicorp/boundary versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/hashicorp/boundary.
What version fixes CVE-2022-36182?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/hashicorp/boundary affected?
Yes, github.com/hashicorp/boundary is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2022-36182?
CVE-2022-36182 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2022-36182?
CVE-2022-36182 is classified under CWE-1021: Improper Restriction of Rendered UI Layers or Frames (The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain.).
How can I check Go dependencies for CVE-2022-36182?
Run the dependency tree command: 'inspect dependencies for github.com/hashicorp/boundary'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xqv2-3vvq-qg6r",
  "modified" : "2022-10-31T19:22:54Z",
  "published" : "2022-10-27T19:00:38Z",
  "aliases" : [ "CVE-2022-36182" ],
  "summary" : "Hashicorp Boundary vulnerable to clickjacking",
  "details" : "Hashicorp Boundary is vulnerable to Clickjacking which allow for the interception of login credentials, re-direction of users to malicious sites, or causing users to perform malicious actions on the site.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/hashicorp/boundary"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.11.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-36182"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/hashicorp/boundary"
  }, {
    "type" : "WEB",
    "url" : "https://owasp.org/www-community/attacks/Clickjacking"
  }, {
    "type" : "WEB",
    "url" : "https://packetstormsecurity.com/files/168654/Hashicorp-Boundary-Clickjacking.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1021" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-10-28T19:18:55Z",
    "nvd_published_at" : "2022-10-27T13:15:00Z"
  }
}