CVE-2022-38149: hashicorp consul_template
CVSS: 7.5v3.1HighModified
AliasesGHSA-8449-7gc2-pwrpGO-2022-0980
Published 17-08-2022Last modified 03-08-2024
Vulnerability summary
CVE-2022-38149 is a high (CVSS 7.5) vulnerability in hashicorp consul_template. EPSS estimates a 0.85% chance of exploitation in the next 30 days, higher than 57.4% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
0.85%
0%100%
Low · +0.02 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 17-08-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 versionHigh 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NSourcesAll 2 agree
- OSV · GoEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.85%
Chance of exploitation in the next 30 days
Percentile
57%
Versus all other CVEs
30-day change
+0.02 pp
From 0.83% on 20-09-2026
20-09-202620-10-2026
EPSS score0.85%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Github.com/hashicorp1 product
- consul-template< 0.27.3 | ≥ 0.28.0, < 0.28.3 | ≥ 0.29.0, < 0.29.2
Hashicorp1 product
- consul_template< 0.29.2
2 vendors · 2 products
References
6 links- github.com/hashicorp/consulPACKAGE