High severityNVD Advisory· Published Aug 24, 2021· Updated Aug 4, 2024
Improper Handling of Exceptional Conditions in detect-character-encoding
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. No workaround are available and all users should update to resolve this issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
detect-character-encodingnpm | < 0.7.0 | 0.7.0 |
Affected products
2- Range: < 0.7.0
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-jqfh-8hw5-fqjrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-39157ghsaADVISORY
- github.com/sonicdoe/detect-character-encoding/commit/992a11007fff6cfd40b952150ab8d30410c4a20aghsax_refsource_MISCWEB
- github.com/sonicdoe/detect-character-encoding/issues/15ghsax_refsource_MISCWEB
- github.com/sonicdoe/detect-character-encoding/releases/tag/v0.7.0ghsaWEB
- github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-jqfh-8hw5-fqjrghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.