github.com/hashicorp/consul-template is vulnerable to Denial of Service (DoS)
28
Low Risk
Affected versions of this package are vulnerable to denial of service (DoS) due to a runtime panic in the ParseTemplateConfig function when handling malformed inputs like : or :::. The issue occurs because empty regex matches lead to out-of-range indexing. The fix adds proper handling for empty matches, returning a controlled error instead of panicking.
You are affected if you are using a version that falls within the vulnerable range.
github.com/hashicorp/consul-template is vulnerable to Denial of Service (DoS) in versions 0.18.0 - 0.41.2.
Upgrade the github.com/hashicorp/consul-template library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant