{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2020-28367",
        "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 malicious gcc flags specified via a #cgo directive."
            }
        ]
    },
    "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"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://go.dev/cl/267277",
                "refsource": "MISC",
                "name": "https://go.dev/cl/267277"
            },
            {
                "url": "https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561",
                "refsource": "MISC",
                "name": "https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561"
            },
            {
                "url": "https://go.dev/issue/42556",
                "refsource": "MISC",
                "name": "https://go.dev/issue/42556"
            },
            {
                "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-0476",
                "refsource": "MISC",
                "name": "https://pkg.go.dev/vuln/GO-2022-0476"
            },
            {
                "url": "https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html",
                "refsource": "MISC",
                "name": "https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html"
            }
        ]
    },
    "credits": [
        {
            "lang": "en",
            "value": "Imre Rad"
        }
    ]
}