logo

CVE-2022-25648 git

Package

Manager: gem
Name: git
Vulnerable Version: >=0 <1.11.0

Severity

Level: Critical

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

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.01611 pctl0.81059

Details

Command injection in ruby-git The package prior to v1.11.0 is vulnerable to Command Injection via git argument injection. When calling the `fetch(remote = 'origin', opts = {})` function, the remote parameter is passed to the `git fetch` subcommand in a way such that additional flags can be set. The additional flags can be used to perform a command injection.

Metadata

Created: 2022-04-20T00:00:33Z
Modified: 2023-07-03T23:11:16Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-69p6-wvmq-27gg/GHSA-69p6-wvmq-27gg.json
CWE IDs: ["CWE-88"]
Alternative ID: GHSA-69p6-wvmq-27gg
Finding: F014
Auto approve: 1