{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-4674",
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "state": "PUBLISHED",
        "assignerShortName": "Go",
        "dateReserved": "2025-05-13T23:31:07.620Z",
        "datePublished": "2025-07-29T21:19:08.519Z",
        "dateUpdated": "2025-11-04T21:10:50.871Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
                "shortName": "Go",
                "dateUpdated": "2025-07-29T21:19:08.519Z"
            },
            "title": "Unexpected command execution in untrusted VCS repositories in cmd/go",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The go command may execute unexpected commands when operating in untrusted VCS repositories. This occurs when possibly dangerous VCS configuration is present in repositories. This can happen when a repository was fetched via one VCS (e.g. Git), but contains metadata for another VCS (e.g. Mercurial). Modules which are retrieved using the go command line, i.e. via \"go get\", are not affected."
                }
            ],
            "affected": [
                {
                    "vendor": "Go toolchain",
                    "product": "cmd/go",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "cmd/go",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "1.23.11",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "1.24.0-0",
                            "lessThan": "1.24.5",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-73: External Control of File Name or Path"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://go.dev/cl/686515"
                },
                {
                    "url": "https://go.dev/issue/74380"
                },
                {
                    "url": "https://groups.google.com/g/golang-announce/c/gTNJnDXmn34"
                },
                {
                    "url": "https://pkg.go.dev/vuln/GO-2025-3828"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "RyotaK (https://ryotak.net) of GMO Flatt Security Inc"
                }
            ]
        },
        "adp": [
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-73",
                                "lang": "en",
                                "description": "CWE-73 External Control of File Name or Path"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "CHANGED",
                            "version": "3.1",
                            "baseScore": 8.6,
                            "attackVector": "LOCAL",
                            "baseSeverity": "HIGH",
                            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H",
                            "integrityImpact": "HIGH",
                            "userInteraction": "REQUIRED",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "HIGH",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "HIGH"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-08-06T16:03:21.628652Z",
                                "id": "CVE-2025-4674",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-08-06T16:06:57.979Z"
                }
            },
            {
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "http://www.openwall.com/lists/oss-security/2025/07/08/5"
                    }
                ],
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2025-11-04T21:10:50.871Z"
                }
            }
        ]
    }
}