blob: ae464598a929c657dc5281b3b3ee0bc48e90d74e [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2023-1269",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2023-22460",
"GHSA-c653-6hhg-9x92"
],
"summary": "Panic in encoding in github.com/ipld/go-ipld-prime",
"details": "Encoding data using the 'json' codec which contains a 'Bytes' type Node will cause the encoder to panic. The decoder is not impacted. If the codec is used to encode user supplied data, this may be used as a vector for a denial of service attack.",
"affected": [
{
"package": {
"name": "github.com/ipld/go-ipld-prime",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.19.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/ipld/go-ipld-prime/codec/dagjson",
"symbols": [
"Encode",
"EncodeOptions.Encode",
"Marshal"
]
}
]
}
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://github.com/ipld/go-ipld-prime/security/advisories/GHSA-c653-6hhg-9x92"
},
{
"type": "FIX",
"url": "https://github.com/ipld/go-ipld-prime/pull/472"
}
],
"credits": [
{
"name": "@hacdias"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-1269",
"review_status": "REVIEWED"
}
}