{
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
                "shortName": "Go",
                "dateUpdated": "2023-06-12T19:04:27.361Z"
            },
            "title": "Indefinite hang with large buffers on Windows in crypto/rand",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Infinite loop in Read in crypto/rand before Go 1.17.11 and Go 1.18.3 on Windows allows attacker to cause an indefinite hang by passing a buffer larger than 1 << 32 - 1 bytes."
                }
            ],
            "affected": [
                {
                    "vendor": "Go standard library",
                    "product": "crypto/rand",
                    "collectionURL": "https://pkg.go.dev",
                    "packageName": "crypto/rand",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "1.17.11",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "1.18.0-0",
                            "lessThan": "1.18.3",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "platforms": [
                        "windows"
                    ],
                    "programRoutines": [
                        {
                            "name": "Read"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://go.dev/cl/402257"
                },
                {
                    "url": "https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863"
                },
                {
                    "url": "https://go.dev/issue/52561"
                },
                {
                    "url": "https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ"
                },
                {
                    "url": "https://pkg.go.dev/vuln/GO-2022-0477"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Davis Goodin"
                },
                {
                    "lang": "en",
                    "value": "Quim Muntal of Microsoft"
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T06:56:13.255Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://go.dev/cl/402257",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://go.googlesource.com/go/+/bb1f4416180511231de6d17a1f2f55c82aafc863",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://go.dev/issue/52561",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://groups.google.com/g/golang-announce/c/TzIC9-t8Ytg/m/IWz5T6x7AAAJ",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://pkg.go.dev/vuln/GO-2022-0477",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "assignerShortName": "Go",
        "cveId": "CVE-2022-30634",
        "datePublished": "2022-07-15T19:36:19",
        "dateReserved": "2022-05-12T00:00:00",
        "dateUpdated": "2024-08-03T06:56:13.255Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}