detect-character-encoding is an open source character encoding inspection library. In detect-character-encoding v0.6.0 and earlier, data matching no charset causes the Node.js process to crash. The problem has been patched in detect-character-encoding v0.7.0. No workaround are available and all users should update to resolve this issue.
[
{
"digest": {
"function_hash": "244521284125772824062875955107530677307",
"length": 1396.0
},
"target": {
"file": "icuWrapper.cpp",
"function": "NAN_METHOD"
},
"deprecated": false,
"source": "https://github.com/sonicdoe/detect-character-encoding/commit/992a11007fff6cfd40b952150ab8d30410c4a20a",
"id": "CVE-2021-39157-871caf3a",
"signature_version": "v1",
"signature_type": "Function"
}
]