Skip to content

← Public intelligence

Go package

github.com/github/git-sizer

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratedGoPublished

    On Windows, git-sizer might run a git executable within the repository being analyzed

    GHSA-57q7-rxqq-7vgp

    Affected
    • Go github.com/github/git-sizer <= 1.3.0
    Fixed in
    1.4.0· Vendor fix available
    Issue
    Impact On Windows, if git-sizer is run against a non-bare repository, and that repository has an executable called git.exe, git.bat, etc., then that executable might be run by git-sizer rather than the system git executable. An attacker could try to use social engineering to get a victim to run git-sizer against a hostile repository and thereby get the victim to run arbitrary code. On Linux or other Unix-derived platforms, a similar problem could occur if the user's PATH has the current directory before the path to the standard git executable, but this is would be a very unusual configuration that has been known for decades to lead to all kinds of security problems. Patches Users should update to git-sizer v1.4.0 Workarounds If you are on Windows, then either Don't run git-sizer against a repository that might contain hostile code, or, if you must… Run git-sizer against a bare clone of the hostile repository, or, if that is not possible… Make sure that the hostile repository doesn't…

    Recommended action: Upgrade to 1.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →