Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Detect-Character-Encoding Project | Detect-Character-Encoding | < 0.7.0 |
Related Weaknesses (CWE)
References
- https://github.com/sonicdoe/detect-character-encoding/commit/992a11007fff6cfd40bPatchThird Party Advisory
- https://github.com/sonicdoe/detect-character-encoding/issues/15ExploitThird Party Advisory
- https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-jExploitThird Party Advisory
- https://github.com/sonicdoe/detect-character-encoding/commit/992a11007fff6cfd40bPatchThird Party Advisory
- https://github.com/sonicdoe/detect-character-encoding/issues/15ExploitThird Party Advisory
- https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-jExploitThird Party Advisory
FAQ
What is CVE-2021-39157?
CVE-2021-39157 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 pr...
How severe is CVE-2021-39157?
CVE-2021-39157 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-39157?
Check the references section above for vendor advisories and patch information. Affected products include: Detect-Character-Encoding Project Detect-Character-Encoding.