blob: 994cbdb89c2cd6db3d49ae9eb216e583086961c2 [file] [log] [blame]
{
"id": "GO-2023-1269",
"published": "0001-01-01T00:00:00Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2023-22460",
"GHSA-c653-6hhg-9x92"
],
"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"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-1269"
},
"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"
}
],
"schema_version": "1.3.1"
}