Advisory

GHSA-m69r-9g56-7mv8

Also known as: BIT-consul-2022-40716, CVE-2022-40716, GO-2022-1029

Summary

HashiCorp Consul vulnerable to authorization bypass

Details

HashiCorp Consul and Consul Enterprise versions prior to 1.11.9, 1.12.5, and 1.13.2 do not check for multiple SAN URI values in a CSR on the internal RPC endpoint, enabling leverage of privileged access to bypass service mesh intentions. A specially crafted CSR sent directly to Consul’s internal server agent RPC endpoint can include multiple SAN URI values with additional service names. This issue has been fixed in versions 1.11.9, 1.12.5, and 1.13.2. There are no known workarounds.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-09-25 00:00 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

github.com/hashicorp/consul

Go · All systems

Affected

  • introduced 0, fixed 1.11.9 (semver)

Fixed versions

1.11.9

Fix

github.com/hashicorp/consul

Go · All systems

Affected

  • introduced 1.12.0, fixed 1.12.5 (semver)

Fixed versions

1.12.5

Fix

github.com/hashicorp/consul

Go · All systems

Affected

  • introduced 1.13.0, fixed 1.13.2 (semver)

Fixed versions

1.13.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences