ced detects character encoding using Google’s compact_enc_det library. In ced v0.1.0, passing data types other than Buffer causes the Node.js process to crash. The problem has been patched in ced v1.0.0. As a workaround, before passing an argument to ced, verify it’s a Buffer using Buffer.isBuffer(obj).
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0.1.0"
},
{
"last_affected": "0.1.0"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v1.0.0",
"range": [
{
"fixed": "2be643baa9626bbe11db075f7b5013bef6488087"
}
],
"source": "REFERENCES_TAG"
}
]
}