CVE-2022-25648
Advisory lineage Upstream: 0 Downstream: 6
Modified
Published: 19 Apr 2022, 16:35
Last modified:16 Sept 2024, 17:59
Vulnerability Summary
Overall Risk (default)
high
70/100 CVSS Score
9.8 CRITICAL
v3.1 (nvd)
EPSS Score
5.73% LOW
6% probability +4.24%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
19 Apr 2022, 16:35
Published
Vulnerability first disclosed
16 Sept 2024, 17:59
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•HIGH•Score: 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- v2.0•HIGH•Score: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 5.73%• Percentile: 91%
Techniques & Countermeasures
- CWE-88•Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.
Affected Systems
- debian•debian_linux
10.0
- fedoraproject•extra_packages_for_enterprise_linux
8.0
- fedoraproject•fedora
34 | 35 | 36
- Unknown•Git
< 1.11.0
References (7)
- 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
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html