{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-39157","published":"2021-08-24T19:15:32.127000Z","last_modified":"2026-06-17T04:03:12.860000Z","status":"Modified","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-755"],"cpes":[{"criteria":"cpe:2.3:a:detect-character-encoding_project:detect-character-encoding:*:*:*:*:*:node.js:*:*","part":"a","vendor":"detect-character-encoding_project","product":"detect-character-encoding","version_end_excluding":"0.7.0"}],"cpes_truncated":false,"vendors":["detect-character-encoding_project"],"products":["detect-character-encoding_project/detect-character-encoding"],"epss":{"score":0.02068,"percentile":0.82085,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-jqfh-8hw5-fqjr","ecosystem":"npm","name":"detect-character-encoding","purl":"pkg:npm/detect-character-encoding","ranges":[{"introduced":"0","fixed":"0.7.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2021-39157/","html_en":"/en/cve/CVE-2021-39157/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-39157","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-39157"},"untrusted":{"vendor_name":"Detect-character-encoding Project","product_name":"Detect-character-encoding","desc_en":"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](https://github.com/sonicdoe/detect-character-encoding/releases/tag/v0.7.0). No workaround are available and all users should update to resolve this issue.","affected":[{"untrusted_vendor":"sonicdoe","untrusted_product":"detect-character-encoding","versions":[]}],"references":[{"url":"https://github.com/sonicdoe/detect-character-encoding/commit/992a11007fff6cfd40b952150ab8d30410c4a20a","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/sonicdoe/detect-character-encoding/issues/15","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-jqfh-8hw5-fqjr","tags":["Exploit","Third Party Advisory"]}]}}