Gitingest Prefix-Based Git Host Check Enables Request Forgery and Token Disclosure
coderamp-labs gitingest
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| coderamp-labs gitingest |
| No fix yet |
Original description
Gitingest through 0.3.1 fails to properly validate hostnames in _validate_host, accepting any host with a git., gitlab., or github. prefix regardless of known-hosts list membership. Attackers can submit URLs with attacker-controlled hostnames to trigger outbound connections to arbitrary hosts and disclose GitHub personal access tokens via HTTP basic credentials.
From the CVE record · VulnCheck