{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2021-38561",
        "ASSIGNER": "cve@mitre.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "golang.org/x/text/language in golang.org/x/text before 0.3.7 can panic with an out-of-bounds read during BCP 47 language tag parsing. Index calculation is mishandled. If parsing untrusted user input, this can be used as a vector for a denial-of-service attack."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a",
                                            "version_affected": "?"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://groups.google.com/g/golang-announce",
                "refsource": "MISC",
                "name": "https://groups.google.com/g/golang-announce"
            },
            {
                "url": "https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f",
                "refsource": "MISC",
                "name": "https://go.googlesource.com/text/+/383b2e75a7a4198c42f8f87833eefb772868a56f"
            },
            {
                "url": "https://deps.dev/advisory/OSV/GO-2021-0113",
                "refsource": "MISC",
                "name": "https://deps.dev/advisory/OSV/GO-2021-0113"
            },
            {
                "url": "https://pkg.go.dev/golang.org/x/text/language",
                "refsource": "MISC",
                "name": "https://pkg.go.dev/golang.org/x/text/language"
            }
        ]
    }
}