CVE-2021-39157
Last modified
CVE-2021-39157 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 2.07% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Detect-Character-Encoding Project | Detect-Character-Encoding | < 0.7.0 |
References
- https://github.com/sonicdoe/detect-character-encoding/commit/992a11007fff6cfd40b952150ab8d30410c4a20aPatch, Third Party Advisory
- https://github.com/sonicdoe/detect-character-encoding/issues/15Exploit, Third Party Advisory
- https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-jqfh-8hw5-fqjrExploit, Third Party Advisory
- https://github.com/sonicdoe/detect-character-encoding/commit/992a11007fff6cfd40b952150ab8d30410c4a20aPatch, Third Party Advisory
- https://github.com/sonicdoe/detect-character-encoding/issues/15Exploit, Third Party Advisory
- https://github.com/sonicdoe/detect-character-encoding/security/advisories/GHSA-jqfh-8hw5-fqjrExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-39157?
How severe is CVE-2021-39157?
How do I fix CVE-2021-39157?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-39151XStream is a simple library to serialize objects to XML and …8.5
- CVE-2021-39152XStream is a simple library to serialize objects to XML and …8.5
- CVE-2021-39153XStream is a simple library to serialize objects to XML and …8.5
- CVE-2021-39154XStream is a simple library to serialize objects to XML and …8.5
- CVE-2021-39155Istio is an open source platform for providing a uniform way…7.5
- CVE-2021-39156Istio is an open source platform for providing a uniform way…7.5
- CVE-2021-39158NVCaffe's python required dependencies list used to contain …8.8
- CVE-2021-39159BinderHub is a kubernetes-based cloud service that allows us…9.8
- CVE-2021-3916bookstack is vulnerable to Improper Limitation of a Pathname…6.5
- CVE-2021-39160nbgitpuller is a Jupyter server extension to sync a git repo…8.8
- CVE-2021-39161Discourse is an open source platform for community discussio…5.4
- CVE-2021-39162Pomerium is an open source identity-aware access proxy. Envo…8.6
Are you affected by CVE-2021-39157?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
