n/a · Vulnerability
cve-program · CVE-2021-28955
Publishedgit-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).
Read the publisher's advisoryeuvd · EUVD-2021-1138
Publishedgit-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).
Read the publisher's advisorynvd · CVE-2021-28955
Publishedgit-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).
Read the publisher's advisoryosv · GHSA-m898-h4pm-pqfr
Published### Impact The go language recently addressed a security issue in the way that binaries are found before being executed. Some operating systems like Windows persist to have the current directory being part of the default search path, and having priority over the system-wide path. This means that it's possible for a malicious user to craft for example a `git.bat` command, commit it and push it in a repository. Later when git-bug search for the git binary, this malicious executable can take priority and be executed. ### Who is impacted This issue happen on Windows and some other operating systems with a badly configured PATH. All version prior to 0.7.2 are vulnerable to this issue. ### Patches Version 0.7.2 fix this issue. Users should update as soon as possible. ### References More details about this issue can be found [here](https://blog.golang.org/path-security).
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2021-28955 · CVE overview and exploitation status
cve-program · CVE-2021-28955
- https://github.com/MichaelMure/git-bug/security/advisories/GHSA-m898-h4pm-pqfr
- https://vuln.ryotak.me/advisories/18
euvd · EUVD-2021-1138
- https://github.com/MichaelMure/git-bug/security/advisories/GHSA-m898-h4pm-pqfr
- https://vuln.ryotak.me/advisories/18
nvd · CVE-2021-28955
- https://github.com/MichaelMure/git-bug/security/advisories/GHSA-m898-h4pm-pqfr
- https://vuln.ryotak.me/advisories/18
osv · GHSA-m898-h4pm-pqfr
Related changes
Linked by CVE identifierNo related changes are available here.