{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-32884",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-04-19T14:07:11.231Z",
        "datePublished": "2024-04-26T18:04:04.374Z",
        "dateUpdated": "2024-08-02T02:20:35.704Z"
    },
    "containers": {
        "cna": {
            "title": "gix-transport indirect code execution via malicious username",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-77",
                            "lang": "en",
                            "description": "CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-88",
                            "lang": "en",
                            "description": "CWE-88: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "LOW",
                        "baseScore": 6.4,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh"
                },
                {
                    "name": "https://rustsec.org/advisories/RUSTSEC-2024-0335.html",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://rustsec.org/advisories/RUSTSEC-2024-0335.html"
                }
            ],
            "affected": [
                {
                    "vendor": "Byron",
                    "product": "gitoxide",
                    "versions": [
                        {
                            "version": "< 0.42.0",
                            "status": "affected"
                        },
                        {
                            "version": "< 0.62",
                            "status": "affected"
                        },
                        {
                            "version": "< 0.35",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-04-26T18:04:04.374Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "gitoxide is a pure Rust implementation of Git. `gix-transport` does not check the username part of a URL for text that the external `ssh` program would interpret as an option. A specially crafted clone URL can smuggle options to SSH. The possibilities are syntactically limited, but if a malicious clone URL is used by an application whose current working directory contains a malicious file, arbitrary code execution occurs. This is related to the patched vulnerability GHSA-rrjw-j4m2-mf34, but appears less severe due to a greater attack complexity. This issue has been patched in versions 0.35.0, 0.42.0 and 0.62.0."
                }
            ],
            "source": {
                "advisory": "GHSA-98p4-xjmm-8mfh",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "title": "CISA ADP Vulnrichment",
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-32884",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-05-01T17:14:15.110574Z"
                            }
                        }
                    }
                ],
                "affected": [
                    {
                        "cpes": [
                            "cpe:2.3:a:byron:gitoxide:*:*:*:*:*:*:*:*"
                        ],
                        "vendor": "byron",
                        "product": "gitoxide",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "0.35.0",
                                "versionType": "custom"
                            },
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "0.62.0",
                                "versionType": "custom"
                            },
                            {
                                "status": "affected",
                                "version": "0",
                                "lessThan": "0.42.0",
                                "versionType": "custom"
                            }
                        ],
                        "defaultStatus": "unknown"
                    }
                ],
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-06-04T17:49:52.416Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T02:20:35.704Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/Byron/gitoxide/security/advisories/GHSA-98p4-xjmm-8mfh"
                    },
                    {
                        "name": "https://rustsec.org/advisories/RUSTSEC-2024-0335.html",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://rustsec.org/advisories/RUSTSEC-2024-0335.html"
                    }
                ]
            }
        ]
    }
}