cve.bz

CVE-2022-40716 hashicorp consul: Unchecked Return Value

6.5 mediumEPSS 1.2%Fix available

Medium (6.5) in hashicorp consul. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/hashicorp/consul 1.11.9, 1.12.5, 1.13.2.

On this page
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."

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS
1.2% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-252 Unchecked Return Value
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-40716 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-40716?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-40716?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-40716 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
hashicorp:consulbefore 1.11.9
hashicorp:consulfrom 1.12.0 before 1.12.5
hashicorp:consulfrom 1.13.0 before 1.13.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m69r-9g56-7mv8Gogithub.com/hashicorp/consul<1.11.91.11.9
GHSA-m69r-9g56-7mv8Gogithub.com/hashicorp/consul>=1.12.0 <1.12.51.12.5
GHSA-m69r-9g56-7mv8Gogithub.com/hashicorp/consul>=1.13.0 <1.13.21.13.2
GO-2022-1029Gogithub.com/hashicorp/consul<1.11.9
>=1.12.0 <1.12.5
>=1.13.0 <1.13.2
1.11.9, 1.12.5, 1.13.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11consulno fix listedDEBIAN-CVE-2022-40716
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTSconsulno fix listedUBUNTU-CVE-2022-40716
Alpinev3.16consul1.12.5-r0ALPINE-CVE-2022-40716
Alpinev3.17, v3.18consul1.13.2-r0ALPINE-CVE-2022-40716

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-grafana-rhel8Will not fix
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaNot affected
Red Hat OpenShift Container Platform 4openshift4/topology-aware-lifecycle-manager-rhel8-operatorAffected
Red Hat Openshift Data Foundation 4odf4/odf-multicluster-rhel9-operatorWill not fix
Red Hat Openshift Data Foundation 4odf4/odr-rhel9-operatorAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-40716.

References

Check your stackJSON