cve.bz

CVE-2022-38149 hashicorp consul template

7.5 highEPSS 0.9%Fix available

High (7.5) in hashicorp consul template. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/hashicorp/consul-template 0.27.3, 0.28.3, 0.29.2.

On this page
HashiCorp Consul Template up to 0.27.2, 0.28.2, and 0.29.1 may expose the contents of Vault secrets in the error returned by the *template.Template.Execute method, when given a template using Vault secret contents incorrectly. Fixed in 0.27.3, 0.28.3, and 0.29.2.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-532 Insertion of Sensitive Information into Log File
OWASP Top 10
A09:2025 Logging & Alerting Failures
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-38149 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-38149?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-38149?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-38149 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:consul_templatebefore 0.29.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8449-7gc2-pwrpGogithub.com/hashicorp/consul-template<0.27.30.27.3
GHSA-8449-7gc2-pwrpGogithub.com/hashicorp/consul-template>=0.28.0 <0.28.30.28.3
GHSA-8449-7gc2-pwrpGogithub.com/hashicorp/consul-template>=0.29.0 <0.29.20.29.2
GO-2022-0980Gogithub.com/hashicorp/consul-template<0.27.3
>=0.28.0 <0.28.3
>=0.29.0 <0.29.2
0.27.3, 0.28.3, 0.29.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Alpinev3.17, v3.18, v3.19 and 5 moreconsul-template0.29.2-r0ALPINE-CVE-2022-38149

From the distributions' data via OSV.dev: the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
RHODF-4.13-RHEL-9odf4/mcg-rhel9-operator:v4.13.0-41Fixed 2023-06-21RHSA-2023:3742
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/cluster-curator-controller-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/managedcluster-import-controller-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multiclusterhub-rhel8Not affected
Red Hat OpenShift Container Platform 4openshift4/topology-aware-lifecycle-manager-rhel8-operatorAffected
Red Hat Openshift Container Storage 4ocs4/cephcsi-rhel8Out of support scope
Red Hat Openshift Container Storage 4ocs4/mcg-rhel8-operatorOut of support scope
Red Hat Openshift Container Storage 4ocs4/ocs-rhel8-operatorOut of support scope
Red Hat Openshift Container Storage 4ocs4/rook-ceph-rhel8-operatorOut of support scope
Red Hat Openshift Data Foundation 4odf4/cephcsi-rhel9Not affected
Red Hat Openshift Data Foundation 4odf4/ocs-rhel9-operatorWill not fix
Red Hat Openshift Data Foundation 4odf4/odf-multicluster-rhel8-operatorWill not fix
Red Hat Openshift Data Foundation 4odf4/odf-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-38149.

Attack patterns (CAPEC)

  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON