| { |
| "schema_version": "1.3.1", |
| "id": "GO-2022-0980", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "CVE-2022-38149", |
| "GHSA-8449-7gc2-pwrp" |
| ], |
| "summary": "Exposure of Vault secrets via error messages in github.com/hashicorp/consul-template", |
| "details": "The text of errors returned by Template.Execute can contain Vault secrets, potentially revealing these secrets in logs or error reports.", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/hashicorp/consul-template", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "0.27.3" |
| }, |
| { |
| "introduced": "0.28.0" |
| }, |
| { |
| "fixed": "0.28.3" |
| }, |
| { |
| "introduced": "0.29.0" |
| }, |
| { |
| "fixed": "0.29.2" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/hashicorp/consul-template/template", |
| "symbols": [ |
| "Template.Execute" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "ADVISORY", |
| "url": "https://discuss.hashicorp.com/t/hsec-2022-16-consul-template-may-expose-vault-secrets-when-processing-invalid-input/43215" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/hashicorp/consul-template/commit/d6a6f4af219c28e67d847ba0e0b2bea8f5bb9076" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2022-0980", |
| "review_status": "REVIEWED" |
| } |
| } |