VulnerabilityModified
CVE-2022-25648
The package git before 1.11.0 are vulnerable to Command Injection via git argument injection.
CRITICAL 9.8EPSS 4.87%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (4.87%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 4.87% probability · 92th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-88
- Affected
- git/git · fedoraproject/extra packages for enterprise linux · fedoraproject/fedora · debian/debian linux
- Source
- report@snyk.io
References
- https://github.com/ruby-git/ruby-git/pull/569Issue Tracking, Patch
- https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0Release Notes
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.htmlMailing List, Third Party Advisory
- 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.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/
- https://snyk.io/vuln/SNYK-RUBY-GIT-2421270Exploit, Patch, Third Party Advisory
- https://github.com/ruby-git/ruby-git/pull/569Issue Tracking, Patch
- https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0Release Notes
- https://lists.debian.org/debian-lts-announce/2023/01/msg00043.htmlMailing List, Third Party Advisory
- 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.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/
- https://snyk.io/vuln/SNYK-RUBY-GIT-2421270Exploit, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.