Access Restriction Bypass Affecting github.com/hashicorp/consul/agent package, versions >=1.4.0 <1.4.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.22% (61st percentile)

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-GITHUBCOMHASHICORPCONSULAGENT-5789038
  • published 20 Jul 2023
  • disclosed 13 May 2022
  • credit Unknown

How to fix?

Upgrade github.com/hashicorp/consul/agent to version 1.4.3 or higher.

Overview

github.com/hashicorp/consul/agent is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

Affected versions of this package are vulnerable to Access Restriction Bypass. The issue allows a client to bypass intended access restrictions and obtain the privileges of one other arbitrary token within secondary datacenters because a token with literally "" as its secret is used in unusual circumstances.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.1 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High