| { |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0", |
| "cveMetadata": { |
| "cveId": "CVE-2022-30634" |
| }, |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" |
| }, |
| "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 \u003c\u003c 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" |
| } |
| ] |
| } |
| } |
| } |