CVE-2022-25648
CVSS V2 High 7.5
CVSS V3 Critical 9.8
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.
Overview
- CVE ID
- CVE-2022-25648
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2022-04-19T17:15:11
- Last Modified Date
- 2023-02-16T19:28:08
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:git:git:*:*:*:*:*:ruby:*:* | 1 | OR | 1.11.0 | |
cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.8
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/ruby-git/ruby-git/pull/569 | Patch Third Party Advisory |
https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0 | Release Notes Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html | |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/ | Mailing List Third Party Advisory |
https://snyk.io/vuln/SNYK-RUBY-GIT-2421270 | Exploit Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-25648 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-25648 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-20 17:01:36 | Added to TrackCVE | |||
2023-01-31 03:13:36 | 2023-01-31T01:15:09 | CVE Modified Date | updated | |
2023-01-31 03:13:36 | Analyzed | Modified | Vulnerability Status | updated |
2023-01-31 03:13:36 | References | updated | ||
2023-02-02 13:12:45 | Modified | Undergoing Analysis | Vulnerability Status | updated |
2023-02-16 21:12:54 | 2023-02-16T19:28:08 | CVE Modified Date | updated | |
2023-02-16 21:12:54 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |