CVE-2022-40716: Medium severity Hashicorp Consul vulnerability

Published Sep 23, 2022
·
Updated

HashiCorp Consul and Consul Enterprise up to 1.11.8, 1.12.4, and 1.13.1 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. Fixed in 1.11.9, 1.12.5, and 1.13.2."

Other sources

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.

Affected Software

9 affected componentsFixes available
go/github.com/hashicorp/consul>=1.13.0<1.13.2
1.13.2
go/github.com/hashicorp/consul>=1.12.0<1.12.5
1.12.5
go/github.com/hashicorp/consul<1.11.9
1.11.9
Hashicorp Consul<1.11.9
Hashicorp Consul<1.11.9
Hashicorp Consul>=1.12.0<1.12.5
Hashicorp Consul>=1.12.0<1.12.5
Hashicorp Consul>=1.13.0<1.13.2
Hashicorp Consul>=1.13.0<1.13.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/hashicorp/consul to a version that resolves this vulnerability.

    Fixed in 1.13.2
  2. Upgrade

    Upgrade go/github.com/hashicorp/consul to a version that resolves this vulnerability.

    Fixed in 1.12.5
  3. Upgrade

    Upgrade go/github.com/hashicorp/consul to a version that resolves this vulnerability.

    Fixed in 1.11.9
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.11.9
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.12.5
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.13.2

Event History

Sep 23, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeaknessAffected Software
Sep 25, 2022
Advisory Published
12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-40716?

The severity of CVE-2022-40716 is medium with a severity value of 6.5.

2

How does CVE-2022-40716 affect HashiCorp Consul and Consul Enterprise?

CVE-2022-40716 affects HashiCorp Consul and Consul Enterprise versions prior to 1.11.9, 1.12.5, and 1.13.2.

3

What is the vulnerability of CVE-2022-40716?

CVE-2022-40716 is a vulnerability that allows bypassing service mesh intentions through a specially crafted CSR.

4

How can I fix CVE-2022-40716?

To fix CVE-2022-40716, update HashiCorp Consul and Consul Enterprise to version 1.11.9, 1.12.5, or 1.13.2.

5

Where can I find more information about CVE-2022-40716?

You can find more information about CVE-2022-40716 on the NIST NVD website, the HashiCorp discussions forum, and the GitHub pull request.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203