{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "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": "<",
                                            "version_value": "1.11.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Command Injection"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://snyk.io/vuln/SNYK-RUBY-GIT-2421270",
                "name": "https://snyk.io/vuln/SNYK-RUBY-GIT-2421270"
            },
            {
                "refsource": "MISC",
                "url": "https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0",
                "name": "https://github.com/ruby-git/ruby-git/releases/tag/v1.11.0"
            },
            {
                "refsource": "MISC",
                "url": "https://github.com/ruby-git/ruby-git/pull/569",
                "name": "https://github.com/ruby-git/ruby-git/pull/569"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-353e1cf8b6",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XWNJA7WPE67LJ3DJMWZ2TADHCZKWMY55/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-f09e0d8b0e",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTJUF6SFPL4ZVSJQHGQ36KFPFO5DQVYZ/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-1aa40056fc",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Q2V3HOFU4ZVTQZHAVAVL3EX2KU53SP7R/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20230130 [SECURITY] [DLA 3303-1] ruby-git security update",
                "url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00043.html"
            }
        ]
    },
    "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 = '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."
            }
        ]
    },
    "impact": {
        "cvss": {
            "version": "3.1",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P",
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "attackVector": "NETWORK",
            "attackComplexity": "HIGH",
            "privilegesRequired": "NONE",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "availabilityImpact": "HIGH"
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Alessio Della Libera of Snyk Research Team"
        }
    ]
}