Affected versions
Version ranges need review.
- Affected versions
- >= 0.28.0, < 0.28.3
- Fixed version
- 0.28.3
- Affected versions
- >= 0.29.0, < 0.29.2
- Fixed version
- 0.29.2
- Affected versions
- <0.27.3 || >=0.28.0 <0.28.3 || >=0.29.0 <0.29.2
- Fixed version
- 0.27.3 · 0.28.3 · 0.29.2
- Affected versions
- < 0.27.3
- Fixed version
- 0.27.3
Red HatRed Hat OpenShift Container Platform 4/openshift4/topology-aware-lifecycle-manager-rhel8-operator
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
In HashiCorp Consul Template through version 0.29.1, invalid templates could inadvertently reveal the contents of Vault secret in errors returned by the *template.Template.Execute 5 method, when given a template using Vault secret contents incorrectly. This method has been updated to redact Vault secrets when creating an error string, making it safe to log the error.. This issue was fixed in version 0.29.2.
Links
- 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
- https://github.com/hashicorp/consul
- https://github.com/hashicorp/consul-template/commit/d6a6f4af219c28e67d847ba0e0b2bea8f5bb9076
- https://nvd.nist.gov/vuln/detail/CVE-2022-38149
- https://pkg.go.dev/vuln/GO-2022-0980

