Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2020-12758: Service-router config entry with no destination #7783

Merged
merged 1 commit into from
May 5, 2020

Conversation

crhino
Copy link
Contributor

@crhino crhino commented May 5, 2020

Summary

Requiring service:write permissions, a service-router entry without a destination can crash Consul servers.

Background

Introduced in Consul v1.6.0, a service-router config entry controls Connect traffic routing and manipulation at networking layer 7 (e.g. HTTP). When an entry is created without a destination, requiring an ACL token with service:write permissions, it is possible to crash Consul servers.

Remediation

Steps to remediate:

  • Update to Consul v1.7.4 or v1.6.6

Copy link
Member

@mkeeler mkeeler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@crhino crhino merged commit 69b44fb into master May 5, 2020
@crhino crhino deleted the bug/default-destination branch May 5, 2020 15:49
@hanshasselberg hanshasselberg changed the title Construct a default destination if one does not exist CVE-2020-12758: Service-router config entry with no destination Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants