GHSA-jqfh-8hw5-fqjr · Severity: high · Ecosystem: npm — Improper Handling of Exceptional Conditions in detect-character-encoding
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.
Conclusion & alert: CVE-2021-39157 is rated High Exploit Risk (68.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.53%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.41% | 0.53% | +0.12% |
| 2 | 2025-11-18 | 0.53% | 0.41% | -0.12% |
| 3 | 2025-10-22 | — | 0.53% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
GHSA-jqfh-8hw5-fqjr · Severity: high · Ecosystem: npm — Improper Handling of Exceptional Conditions in detect-character-encoding
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| detect-character-encoding_project | detect-character-encoding | < 0.7.0 | cpe:2.3:a:detect-character-encoding_project:detect-character-encoding:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/sonicdoe/detect-character-encoding/commit/992a11007fff6cfd40b952150ab8d30410c4a20a | Patch Third Party Advisory |
| https://github.com/sonicdoe/detect-character-encoding/issues/15 | Exploit Third Party Advisory |
| https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-jqfh-8hw5-fqjr | Exploit Third Party Advisory |