CVE-2021-39157
Description
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.
How to fix
- detect-character-encoding_project detect-character-encoding0.7.0 or later
- detect-character-encoding0.7.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| detect-character-encoding_project detect-character-encoding | v < 0.7.0 | 0.7.0 |
| detect-character-encodingnpm | v < 0.7.0 | 0.7.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.