gsd-2022-25648
Vulnerability from gsd
Modified
2022-04-20 00:00
Details
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...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.