GSD-2022-25648
Vulnerability from gsd - Updated: 2022-04-20 00:00Details
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.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-25648",
"description": "The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = \u0027origin\u0027, 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.",
"id": "GSD-2022-25648",
"references": [
"https://advisories.mageia.org/CVE-2022-25648.html",
"https://access.redhat.com/errata/RHSA-2022:8506"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "git",
"purl": "pkg:gem/git"
}
}
],
"aliases": [
"CVE-2022-25648",
"GHSA-69p6-wvmq-27gg"
],
"details": "The package git before 1.11.0 are vulnerable to Command Injection via\ngit argument injection. When calling the fetch(remote = \u0027origin\u0027, opts = {}) function,\nthe remote parameter is passed to the git fetch subcommand in a way that additional\nflags can be set. The additional flags can be used to perform a command injection.\n",
"id": "GSD-2022-25648",
"modified": "2022-04-20T00:00:00.000Z",
"published": "2022-04-20T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/ruby-git/ruby-git/pull/569"
},
{
"type": "WEB",
"url": "https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 9.8,
"type": "CVSS_V3"
}
],
"summary": "Command injection in ruby-git"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"DATE_PUBLIC": "2022-04-19T16:34:12.673664Z",
"ID": "CVE-2022-25648",
"STATE": "PUBLIC",
"TITLE": "Command Injection"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "git",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_value": "1.11.0"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"credit": [
{
"lang": "eng",
"value": "Alessio Della Libera of Snyk Research Team"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = \u0027origin\u0027, 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."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "Command Injection"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://snyk.io/vuln/SNYK-RUBY-GIT-2421270",
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-RUBY-GIT-2421270"
},
{
"name": "https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0",
"refsource": "MISC",
"url": "https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0"
},
{
"name": "https://github.com/ruby-git/ruby-git/pull/569",
"refsource": "MISC",
"url": "https://github.com/ruby-git/ruby-git/pull/569"
},
{
"name": "FEDORA-2022-353e1cf8b6",
"refsource": "FEDORA",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/"
},
{
"name": "FEDORA-2022-f09e0d8b0e",
"refsource": "FEDORA",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/"
},
{
"name": "FEDORA-2022-1aa40056fc",
"refsource": "FEDORA",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/"
},
{
"name": "[debian-lts-announce] 20230130 [SECURITY] [DLA 3303-1] ruby-git security update",
"refsource": "MLIST",
"url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2022-25648",
"cvss_v3": 9.8,
"date": "2022-04-20",
"description": "The package git before 1.11.0 are vulnerable to Command Injection via\ngit argument injection. When calling the fetch(remote = \u0027origin\u0027, opts = {}) function,\nthe remote parameter is passed to the git fetch subcommand in a way that additional\nflags can be set. The additional flags can be used to perform a command injection.\n",
"gem": "git",
"ghsa": "69p6-wvmq-27gg",
"patched_versions": [
"\u003e= 1.11.0"
],
"related": {
"url": [
"https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0"
]
},
"title": "Command injection in ruby-git",
"url": "https://github.com/ruby-git/ruby-git/pull/569"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c1.11.0",
"affected_versions": "All versions before 1.11.0",
"cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-88",
"CWE-937"
],
"date": "2023-02-16",
"description": "The package git before 1.11.0 is vulnerable to Command Injection via git argument injection. When calling the `fetch(remote = \u0027origin\u0027, 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.",
"fixed_versions": [
"1.11.0"
],
"identifier": "CVE-2022-25648",
"identifiers": [
"CVE-2022-25648"
],
"not_impacted": "All versions starting from 1.11.0",
"package_slug": "gem/git",
"pubdate": "2022-04-19",
"solution": "Upgrade to version 1.11.0 or above.",
"title": "Improper Neutralization of Argument Delimiters in a Command (\u0027Argument Injection\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-25648",
"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"
],
"uuid": "d9a318e2-89c8-48fe-b7a4-4e0f1484ff42"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:git:git:*:*:*:*:*:ruby:*:*",
"cpe_name": [],
"versionEndExcluding": "1.11.0",
"vulnerable": true
}
],
"operator": "OR"
},
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux:8.0:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
},
{
"cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
},
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"ID": "CVE-2022-25648"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = \u0027origin\u0027, 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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-88"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://snyk.io/vuln/SNYK-RUBY-GIT-2421270",
"refsource": "MISC",
"tags": [
"Exploit",
"Patch",
"Third Party Advisory"
],
"url": "https://snyk.io/vuln/SNYK-RUBY-GIT-2421270"
},
{
"name": "https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0",
"refsource": "MISC",
"tags": [
"Release Notes"
],
"url": "https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0"
},
{
"name": "https://github.com/ruby-git/ruby-git/pull/569",
"refsource": "MISC",
"tags": [
"Issue Tracking",
"Patch"
],
"url": "https://github.com/ruby-git/ruby-git/pull/569"
},
{
"name": "FEDORA-2022-1aa40056fc",
"refsource": "FEDORA",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/"
},
{
"name": "FEDORA-2022-f09e0d8b0e",
"refsource": "FEDORA",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/"
},
{
"name": "FEDORA-2022-353e1cf8b6",
"refsource": "FEDORA",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/"
},
{
"name": "[debian-lts-announce] 20230130 [SECURITY] [DLA 3303-1] ruby-git security update",
"refsource": "MLIST",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 7.5,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "HIGH",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
},
"lastModifiedDate": "2023-02-16T19:28Z",
"publishedDate": "2022-04-19T17:15Z"
}
}
}
Loading…
Loading…
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.