CVE-2022-40716
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedHashiCorp 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."
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceHashiCorp Consul fails to validate multiple SAN URI values in Certificate Signing Requests (CSRs) submitted to the internal RPC endpoint. This allows authenticated, privileged users to potentially bypass service mesh intentions by crafting CSRs with multiple SAN URIs, leveraging their privileged access to impersonate services.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 1.11.9>= 1.12.0, < 1.12.5>= 1.13.0, < 1.13.2CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check Consul versionRun `consul version` or inspect the Consul process/version file to obtain the installed version numberAffected if The installed version falls within < 1.11.9, >= 1.12.0 and < 1.12.5, or >= 1.13.0 and < 1.13.2
-
Verify Consul Connect service mesh is enabledCheck for the presence of the Connect subsystem: run `consul connect` command, check configuration files for `connect` stanza, or query the Consul API at `/v1/agent/connect`Affected if Consul Connect service mesh is enabled and the Consul version is vulnerable
-
Confirm RPC endpoint accessibilityCheck if the Consul RPC port (default 8300) is accessible to untrusted users, or review ACL policies for access to the `/v1/agent/connect/authorize` RPC endpointAffected if The internal RPC endpoint is accessible to authenticated, privileged users who could submit malicious CSRs
-
Review certificate signing request logs or audit trailsExamine Consul logs for certificate issuance events, particularly CSRs containing multiple `subjectAltName` URI entries, or inspect the Consul CA configuration for patterns of multi-URI certificate requestsAffected if Multiple SAN URI values appear in CSRs submitted to the internal RPC endpoint, indicating exploitation attempts
You are affected if Consul Connect service mesh is enabled and the installed version is one of the vulnerable releases listed in the affected version ranges.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.11.91.12.51.13.2
Upgrade Consul and Consul Enterprise to versions 1.11.9, 1.12.5, or 1.13.2 or later to patch the CSR validation vulnerability on the internal RPC endpoint.
1.11.9, 1.12.5, or 1.13.2 (depending on current version branch)
- 1. Identify current Consul version by running `consul version`
- 2. Determine target upgrade version based on current version branch: if on 1.11.x upgrade to 1.11.9; if on 1.12.x upgrade to 1.12.5; if on 1.13.x upgrade to 1.13.2
- 3. Review Consul upgrade documentation at https://www.consul.io/docs/upgrading
- 4. Back up Consul data directory and configuration files before upgrading
- 5. Stop Consul service on all nodes
- 6. Install the target fixed version using package manager or manual binary replacement
- 7. Restart Consul service on all nodes
- 8. Verify upgrade by running `consul version` and checking cluster health with `consul members`
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,416.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2022-40716 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2022-40716 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data