Privilege Escalation Affecting github.com/hashicorp/consul/agent/consul package, versions >=1.2.0 <1.8.6


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 0.1% (42nd percentile)
Expand this section
NVD
6.5 medium

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-GITHUBCOMHASHICORPCONSULAGENTCONSUL-1043754
  • published 23 Nov 2020
  • disclosed 23 Nov 2020
  • credit Unknown

How to fix?

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

Overview

github.com/hashicorp/consul/agent/consul 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 Privilege Escalation. Allows operators with operator:read ACL permissions to read the Connect CA private key configuration when explicitly configured with the /v1/connect/ca/configuration endpoint, including the private key. This allows the user to effectively privilege escalate by enabling the ability to mint certificates for any Consul Connect services. This would potentially allow them to masquerade (receive/send traffic) as any service in the mesh.