| { |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0", |
| "cveMetadata": { |
| "cveId": "CVE-2022-2584" |
| }, |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" |
| }, |
| "title": "Panic when decoding invalid blocks in github.com/ipld/go-codec-dagpb", |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "The dag-pb codec can panic when decoding invalid blocks." |
| } |
| ], |
| "affected": [ |
| { |
| "vendor": "github.com/ipld/go-codec-dagpb", |
| "product": "github.com/ipld/go-codec-dagpb", |
| "collectionURL": "https://pkg.go.dev", |
| "packageName": "github.com/ipld/go-codec-dagpb", |
| "versions": [ |
| { |
| "version": "0", |
| "lessThan": "1.3.1", |
| "status": "affected", |
| "versionType": "semver" |
| } |
| ], |
| "programRoutines": [ |
| { |
| "name": "DecodeBytes" |
| }, |
| { |
| "name": "Decode" |
| }, |
| { |
| "name": "Decoder" |
| }, |
| { |
| "name": "Unmarshal" |
| } |
| ], |
| "defaultStatus": "unaffected" |
| } |
| ], |
| "problemTypes": [ |
| { |
| "descriptions": [ |
| { |
| "lang": "en", |
| "description": "CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer" |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://github.com/ipld/go-codec-dagpb/commit/a17ace35cc760a2698645c09868f9050fa219f57" |
| }, |
| { |
| "url": "https://pkg.go.dev/vuln/GO-2022-0422" |
| } |
| ] |
| } |
| } |
| } |