CVE-2022-25648

Source
https://cve.org/CVERecord?id=CVE-2022-25648
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25648.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-25648
Aliases
Downstream
Related
Published
2022-04-19T17:15:11.333Z
Modified
2026-02-06T22:12:50.832859Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The package git before 1.11.0 are 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 that additional flags can be set. The additional flags can be used to perform a command injection.

References

Affected packages

Git / github.com/ruby-git/ruby-git

Affected ranges

Type
GIT
Repo
https://github.com/ruby-git/ruby-git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*
1.0.3
1.0.5
1.0.5.1
v1.*
v1.0.7
v1.10.0
v1.2.0
v1.2.1
v1.2.10
v1.2.2
v1.2.3
v1.2.4
v1.2.5
v1.2.6
v1.2.7
v1.2.8
v1.2.9
v1.2.9.1
v1.3.0
v1.4.0
v1.5.0
v1.6.0
v1.7.0
v1.8.0
v1.8.1
v1.9.0
v1.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25648.json"