Vulnerability CVE-2022-25648


Published: 2022-04-19

Description:
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.

Type:

CWE-88

(Argument Injection or Modification)

CVSS2 => (AV:N/AC:L/Au:N/C:P/I:P/A:P)

CVSS Base Score
Impact Subscore
Exploitability Subscore
7.5/10
6.4/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Partial
Partial
Partial
Affected software
GIT -> GIT 

 References:
https://snyk.io/vuln/SNYK-RUBY-GIT-2421270
https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0
https://github.com/ruby-git/ruby-git/pull/569

Copyright 2024, cxsecurity.com

 

Back to Top