CVE-2021-28955
Arbitrary code execution due to an uncontrolled search path for the git binary
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
git-bug before 0.7.2 has an Uncontrolled Search Path Element. It will execute git.bat from the current directory in certain PATH situations (most often seen on Windows).
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/MichaelMure/git-bug | 0.7.2 |
References
- https://github.com/MichaelMure/git-bug/pull/604
- https://github.com/MichaelMure/git-bug/security/advisories/GHSA-m898-h4pm-pqfr
- https://github.com/git-bug/git-bug
- https://github.com/git-bug/git-bug/security/advisories/GHSA-m898-h4pm-pqfr
- https://nvd.nist.gov/vuln/detail/CVE-2021-28955
- https://vuln.ryotak.me/advisories/18