A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Gitleaks prior to 8.30.1 contains a template injection vulnerability that allows attackers who can supply or influence report templates to read arbitrary environment variables and exfiltrate sensitive data by leveraging non-hermetic Sprig template functions. Attackers can craft malicious report templates using the env, expandenv, and getHostByName functions to extract credentials, tokens, and API keys from the host process and exfiltrate them through DNS queries, including secrets discovered during the scan itself.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- fatihhcelik.github.io /posts/gitleaks-abusing-sprig-for-exfiltration/
- github.com /gitleaks/gitleaks
- github.com /gitleaks/gitleaks/commit/83d9cd684c87d95d656c1458ef04895a7…
- www.vulncheck.com /advisories/gitleaks-secret-exfiltration-via-non-hermetic-s…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning