Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/MichaelMure/git-bug/repository
  4. ›
  5. CVE-2021-28955

CVE-2021-28955: Uncontrolled Search Path Element

May 25, 2021

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).

References

  • github.com/MichaelMure/git-bug/pull/604
  • github.com/MichaelMure/git-bug/security/advisories/GHSA-m898-h4pm-pqfr
  • github.com/advisories/GHSA-m898-h4pm-pqfr
  • nvd.nist.gov/vuln/detail/CVE-2021-28955

Code Behaviors & Features

Detect and mitigate CVE-2021-28955 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.7.2

Fixed versions

  • 0.7.2

Solution

Upgrade to version 0.7.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-427: Uncontrolled Search Path Element
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/MichaelMure/git-bug/repository/CVE-2021-28955.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:43 +0000.