git vulnerabilities

The git gem provides an API that can be used to create, read, and manipulate Git repositories by wrapping system calls to the git command line. The API can be used for working with Git in complex interactions including branching and merging, object inspection and manipulation, history, patch generation and more.

Registry
RubyGems
Latest
6.0.0
License
MIT

3 known advisories

The latest version, 6.0.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:bundle update --conservative git # Gemfile: '>= 6.0.0'

Is your project on an affected git?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for git

  • HighCVE-2022-47318GHSA-pphf-gfrm-v32r17 Jan 2023

    Code injection in ruby git

    Affected
    <1.13.0
    Fixed in
    1.13.0
  • HighCVE-2022-46648GHSA-pfpr-3463-c6jh9 Jan 2023

    ruby-git has potential remote code execution vulnerability

    Affected
    >=1.2.0 <1.13.0
    Fixed in
    1.13.0
  • CriticalCVE-2022-25648GHSA-69p6-wvmq-27gg20 Apr 2022

    Command injection in ruby-git

    Affected
    <1.11.0
    Fixed in
    1.11.0

Is your git version vulnerable?

Which of your client projects still run an old git?

NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other RubyGems packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.