gsd-2022-38149
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
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.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-38149",
"description": "HashiCorp Consul Template through 0.29.1 inserts Sensitive Information into a Log File.",
"id": "GSD-2022-38149"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2022-38149"
],
"details": "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.",
"id": "GSD-2022-38149",
"modified": "2023-12-13T01:19:22.457547Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2022-38149",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://discuss.hashicorp.com",
"refsource": "MISC",
"url": "https://discuss.hashicorp.com"
},
{
"name": "https://discuss.hashicorp.com/t/hsec-2022-16-consul-template-may-expose-vault-secrets-when-processing-invalid-input/43215",
"refsource": "MISC",
"url": "https://discuss.hashicorp.com/t/hsec-2022-16-consul-template-may-expose-vault-secrets-when-processing-invalid-input/43215"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003cv0.27.3 || \u003e=v0.28.0 \u003cv0.28.3 || \u003e=v0.29.0 \u003cv0.29.2",
"affected_versions": "All versions before 0.27.3, all versions starting from 0.28.0 before 0.28.3, all versions starting from 0.29.0 before 0.29.2",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-532",
"CWE-937"
],
"date": "2023-02-22",
"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.",
"fixed_versions": [
"v0.27.3",
"v0.28.3",
"v0.29.2"
],
"identifier": "CVE-2022-38149",
"identifiers": [
"GHSA-8449-7gc2-pwrp",
"CVE-2022-38149"
],
"not_impacted": "All versions starting from 0.27.3 before 0.28.0, all versions starting from 0.28.3 before 0.29.0, all versions starting from 0.29.2",
"package_slug": "go/github.com/hashicorp/consul-template",
"pubdate": "2022-08-18",
"solution": "Upgrade to versions 0.27.3, 0.28.3, 0.29.2 or above.",
"title": "Insertion of Sensitive Information into Log File",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-38149",
"https://discuss.hashicorp.com",
"https://discuss.hashicorp.com/t/hsec-2022-16-consul-template-may-expose-vault-secrets-when-processing-invalid-input/43215",
"https://github.com/hashicorp/consul-template/commit/d6a6f4af219c28e67d847ba0e0b2bea8f5bb9076",
"https://pkg.go.dev/vuln/GO-2022-0980",
"https://github.com/advisories/GHSA-8449-7gc2-pwrp"
],
"uuid": "6e6ebd1b-9cae-41a9-bcc2-9c2423146439",
"versions": [
{
"commit": {
"sha": "0f65f73ee656abd87fcc8e5c6e62446ea4b3edb3",
"tags": [
"v0.28.0"
],
"timestamp": "20220303223401"
},
"number": "v0.28.0"
},
{
"commit": {
"sha": "34ada7ac2a590a2cd39882ec10dde38d744afd72",
"tags": [
"v0.29.0"
],
"timestamp": "20220420204752"
},
"number": "v0.29.0"
},
{
"commit": {
"sha": "06389a3d3c6fc772f8c25903a4bd985a0c8141f0",
"tags": [
"v0.29.2"
],
"timestamp": "20220816205104"
},
"number": "v0.29.2"
},
{
"commit": {
"sha": "9a65c7d1b26fa3aca98292bb607e7355a3fa1478",
"tags": [
"v0.27.3"
],
"timestamp": "20220818210200"
},
"number": "v0.27.3"
},
{
"commit": {
"sha": "aef10629608630cebedaf51aa5b7ea7f3b8c7ad8",
"tags": [
"v0.28.3"
],
"timestamp": "20220818221427"
},
"number": "v0.28.3"
}
]
},
{
"affected_range": "\u003cv0.27.3 || \u003e=v0.28.0 \u003cv0.28.3 || \u003e=v0.29.0 \u003cv0.29.2",
"affected_versions": "All versions before 0.27.3, all versions starting from 0.28.0 before 0.28.3, all versions starting from 0.29.0 before 0.29.2",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-532",
"CWE-937"
],
"date": "2023-02-09",
"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.",
"fixed_versions": [
"v0.27.3",
"v0.28.3",
"v0.29.2"
],
"identifier": "CVE-2022-38149",
"identifiers": [
"GHSA-8449-7gc2-pwrp",
"CVE-2022-38149"
],
"not_impacted": "All versions starting from 0.27.3 before 0.28.0, all versions starting from 0.28.3 before 0.29.0, all versions starting from 0.29.2",
"package_slug": "go/github.com/hashicorp/consul-template/template",
"pubdate": "2022-08-18",
"solution": "Upgrade to versions 0.27.3, 0.28.3, 0.29.2 or above.",
"title": "Insertion of Sensitive Information into Log File",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-38149",
"https://discuss.hashicorp.com",
"https://discuss.hashicorp.com/t/hsec-2022-16-consul-template-may-expose-vault-secrets-when-processing-invalid-input/43215",
"https://github.com/hashicorp/consul-template/commit/d6a6f4af219c28e67d847ba0e0b2bea8f5bb9076",
"https://pkg.go.dev/vuln/GO-2022-0980",
"https://github.com/advisories/GHSA-8449-7gc2-pwrp"
],
"uuid": "acb4adaa-4e79-4f63-ad72-1d40588d2d91",
"versions": [
{
"commit": {
"sha": "0f65f73ee656abd87fcc8e5c6e62446ea4b3edb3",
"tags": [
"v0.28.0"
],
"timestamp": "20220303223401"
},
"number": "v0.28.0"
},
{
"commit": {
"sha": "34ada7ac2a590a2cd39882ec10dde38d744afd72",
"tags": [
"v0.29.0"
],
"timestamp": "20220420204752"
},
"number": "v0.29.0"
},
{
"commit": {
"sha": "06389a3d3c6fc772f8c25903a4bd985a0c8141f0",
"tags": [
"v0.29.2"
],
"timestamp": "20220816205104"
},
"number": "v0.29.2"
},
{
"commit": {
"sha": "9a65c7d1b26fa3aca98292bb607e7355a3fa1478",
"tags": [
"v0.27.3"
],
"timestamp": "20220818210200"
},
"number": "v0.27.3"
},
{
"commit": {
"sha": "aef10629608630cebedaf51aa5b7ea7f3b8c7ad8",
"tags": [
"v0.28.3"
],
"timestamp": "20220818221427"
},
"number": "v0.28.3"
}
]
},
{
"affected_range": "\u003c=v0.29.1",
"affected_versions": "All versions up to 0.29.1",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-532",
"CWE-937"
],
"date": "2022-08-30",
"description": "HashiCorp Consul Template through 0.29.1 inserts Sensitive Information into a Log File.",
"fixed_versions": [
"v0.29.2"
],
"identifier": "CVE-2022-38149",
"identifiers": [
"GHSA-8449-7gc2-pwrp",
"CVE-2022-38149"
],
"not_impacted": "All versions after 0.29.1",
"package_slug": "go/github.com/hashicorp/consul",
"pubdate": "2022-08-18",
"solution": "Upgrade to version 0.29.2 or above.",
"title": "Insertion of Sensitive Information into Log File",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-38149",
"https://discuss.hashicorp.com",
"https://discuss.hashicorp.com/t/hsec-2022-16-consul-template-may-expose-vault-secrets-when-processing-invalid-input/43215",
"https://github.com/advisories/GHSA-8449-7gc2-pwrp"
],
"uuid": "ccf16e8c-1d8a-44b4-a8b4-319891c92c93",
"versions": []
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:hashicorp:consul_template:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "0.29.2",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2022-38149"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-532"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://discuss.hashicorp.com/t/hsec-2022-16-consul-template-may-expose-vault-secrets-when-processing-invalid-input/43215",
"refsource": "MISC",
"tags": [
"Vendor Advisory"
],
"url": "https://discuss.hashicorp.com/t/hsec-2022-16-consul-template-may-expose-vault-secrets-when-processing-invalid-input/43215"
},
{
"name": "https://discuss.hashicorp.com",
"refsource": "MISC",
"tags": [
"Vendor Advisory"
],
"url": "https://discuss.hashicorp.com"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2022-09-01T13:15Z",
"publishedDate": "2022-08-17T15:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…