Bug 1805875 (CVE-2020-7955) - CVE-2020-7955 consul: Missing access control in HTTP API endpoints
Summary: CVE-2020-7955 consul: Missing access control in HTTP API endpoints
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-7955
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1805876 1805877
Blocks: 1805878
TreeView+ depends on / blocked
 
Reported: 2020-02-21 16:53 UTC by Pedro Sampaio
Modified: 2021-02-16 20:33 UTC (History)
14 users (show)

Fixed In Version: consul 1.6.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-07 04:31:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2020-02-21 16:53:16 UTC
HashiCorp Consul and Consul Enterprise 1.4.1 through 1.6.2 did not uniformly enforce ACLs across all API endpoints, resulting in potential unintended information disclosure. Fixed in 1.6.3.

Upstream issue:

https://github.com/hashicorp/consul/issues/7160

Comment 1 Pedro Sampaio 2020-02-21 16:54:31 UTC
Created consul tracking bugs for this issue:

Affects: epel-6 [bug 1805876]
Affects: fedora-30 [bug 1805877]

Comment 2 Mark Cooper 2020-02-25 02:32:09 UTC
Whilst OpenShift ServiceMesh does package consul, it is not a vulnerable version (packages v1.1.0 and v1.3.0).

The vulnerable HTTP API endpoint (v1/agent/health/service/*) was only added in releases of consul starting from v1.4.1.

Ref commit which includes the API endpoint: https://github.com/hashicorp/consul/commit/4f62a3b5285cef13f25d162f267b678e3b5c0d8e

Comment 3 Mark Cooper 2020-03-16 01:46:50 UTC
External References:

https://github.com/hashicorp/consul/issues/7160

Comment 4 Product Security DevOps Team 2020-04-07 04:31:53 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-7955


Note You need to log in before you can comment on or make changes to this bug.