Improper Authorization Affecting github.com/hashicorp/consul/agent package, versions >=1.16.0 <1.16.1


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.07% (32nd 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-6595926
  • published 11 Apr 2024
  • disclosed 9 Aug 2023
  • credit Unknown

How to fix?

Upgrade github.com/hashicorp/consul/agent to version 1.16.1 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 Improper Authorization due to the incorrect handling of JWT authentication for service mesh, which improperly allows or denies access regardless of the actual service identities. An attacker can exploit this flaw to bypass intended access restrictions by crafting JWTs that are mismatched with service identities.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.4 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Changed
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

7.3 high