Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. detect-character-encoding
  4. ›
  5. CVE-2021-39157

CVE-2021-39157: Improper Handling of Exceptional Conditions

August 24, 2021 (updated September 1, 2021)

detect-character-encoding is an open source character encoding inspection library. In detect-character-encoding, data matching no charset causes the Node.js process to crash. No workaround are available and all users should update to resolve this issue.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-39157

Code Behaviors & Features

Detect and mitigate CVE-2021-39157 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.7.0

Fixed versions

  • 0.7.0

Solution

Upgrade to version 0.7.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

npm/detect-character-encoding/CVE-2021-39157.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:13 +0000.