{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2020-28366",
        "ASSIGNER": "security@golang.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via a malicious unquoted symbol name in a linked object file."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-94: Improper Control of Generation of Code ('Code Injection')"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Go toolchain",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "cmd/go",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "0",
                                            "version_value": "1.14.12"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.15.0-0",
                                            "version_value": "1.15.5"
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "cmd/cgo",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "0",
                                            "version_value": "1.14.12"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "1.15.0-0",
                                            "version_value": "1.15.5"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://go.dev/cl/269658",
                "refsource": "MISC",
                "name": "https://go.dev/cl/269658"
            },
            {
                "url": "https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292",
                "refsource": "MISC",
                "name": "https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292"
            },
            {
                "url": "https://go.dev/issue/42559",
                "refsource": "MISC",
                "name": "https://go.dev/issue/42559"
            },
            {
                "url": "https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM",
                "refsource": "MISC",
                "name": "https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM"
            },
            {
                "url": "https://pkg.go.dev/vuln/GO-2022-0475",
                "refsource": "MISC",
                "name": "https://pkg.go.dev/vuln/GO-2022-0475"
            }
        ]
    },
    "credits": [
        {
            "lang": "en",
            "value": "Chris Brown (Tempus Ex)"
        }
    ]
}