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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.1% (44th 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 IDSNYK-GOLANG-GITHUBCOMHASHICORPCONSULAGENTCONSUL-1043754
  • published23 Nov 2020
  • disclosed23 Nov 2020
  • creditUnknown

Introduced: 23 Nov 2020

CVE-2020-28053  (opens in a new tab)
CWE-264  (opens in a new tab)

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.

CVSS Scores

version 3.1