CVE-2022-25648
CRITICAL9.8EPSS 5.7%Command Injection
發布日:2022/4/20修改日:2026/4/28
描述
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.
受影響套件(5)
- Bitnami/gitfrom 0, < 1.11.0
- Debian/ruby-gitfrom 0, < 1.7.0-1+deb11u1
- Debian/ruby-gitfrom 0, < 1.2.8-1+deb10u1
- Debian/ruby-gitfrom 0, < 1.7.0-1+deb11u1
- RubyGems/gitfrom 0, < 1.11.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
參考連結(15)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-25648
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-25648
- PATCHhttps://github.com/ruby-git/ruby-git
- WEBhttps://github.com/ruby-git/ruby-git/commit/291ca0946bec7164b90ad5c572ac147f512c7159
- WEBhttps://github.com/ruby-git/ruby-git/pull/569
- WEBhttps://github.com/ruby-git/ruby-git/releases/tag/v1.11.0
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/git/CVE-2022-25648.yml
- WEBhttps://lists.debian.org/debian-lts-announce/2023/01/msg00043.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55
- WEBhttps://snyk.io/vuln/SNYK-RUBY-GIT-2421270