CVE-2021-39157

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:detect-character-encoding_project:detect-character-encoding:*:*:*:*:*:node.js:*:*

History

01 Sep 2021, 01:03

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 7.5
v2 : 5.0
v3 : 7.5
CPE cpe:2.3:a:detect-character-encoding_project:detect-character-encoding:*:*:*:*:*:node.js:*:*
References (MISC) https://github.com/sonicdoe/detect-character-encoding/issues/15 - (MISC) https://github.com/sonicdoe/detect-character-encoding/issues/15 - Exploit, Third Party Advisory
References (MISC) https://github.com/sonicdoe/detect-character-encoding/commit/992a11007fff6cfd40b952150ab8d30410c4a20a - (MISC) https://github.com/sonicdoe/detect-character-encoding/commit/992a11007fff6cfd40b952150ab8d30410c4a20a - Patch, Third Party Advisory
References (CONFIRM) https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-jqfh-8hw5-fqjr - (CONFIRM) https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-jqfh-8hw5-fqjr - Exploit, Third Party Advisory

24 Aug 2021, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-08-24 19:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-39157

Mitre link : CVE-2021-39157

CVE.ORG link : CVE-2021-39157


JSON object : View

Products Affected

detect-character-encoding_project

  • detect-character-encoding
CWE
CWE-755

Improper Handling of Exceptional Conditions