CVE-2021-39157

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductDetect-character-encoding
PublishedAug 24, 2021
First seenAug 24, 2021
Weakness typeCWE-755CWE-755

How to fix

Update
  • detect-character-encoding_project detect-character-encoding0.7.0 or later
  • detect-character-encoding0.7.0 or later

Affected products

ProductAffected versionsFixed in
detect-character-encoding_project detect-character-encodingv < 0.7.00.7.0
detect-character-encodingnpmv < 0.7.00.7.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.