CVE-2021-39131
Last modified
CVE-2021-39131 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. ced detects character encoding using Google’s compact_enc_det library. In ced v0.1.0, passing data types other than `Buffer` causes the Node.js process to crash. EPSS estimates a 1.89% chance of exploitation in the next 30 days.
Description
ced detects character encoding using Google’s compact_enc_det library. In ced v0.1.0, passing data types other than `Buffer` causes the Node.js process to crash. The problem has been patched in ced v1.0.0. As a workaround, before passing an argument to ced, verify it’s a `Buffer` using `Buffer.isBuffer(obj)`.
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 |
|---|---|---|
| Ced Project | Ced | 0.1.0 |
References
- https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3Patch, Third Party Advisory
- https://github.com/sonicdoe/ced/releases/tag/v1.0.0Release Notes, Third Party Advisory
- https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9Exploit, Patch, Third Party Advisory
- https://github.com/sonicdoe/ced/commit/a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3Patch, Third Party Advisory
- https://github.com/sonicdoe/ced/releases/tag/v1.0.0Release Notes, Third Party Advisory
- https://github.com/sonicdoe/ced/security/advisories/GHSA-27wq-qx3q-fxm9Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-39131?
How severe is CVE-2021-39131?
How do I fix CVE-2021-39131?
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-39124The Cross-Site Request Forgery (CSRF) failure retry feature …4.3
- CVE-2021-39125Affected versions of Atlassian Jira Server and Data Center a…5.3
- CVE-2021-39126Affected versions of Atlassian Jira Server and Data Center a…6.5
- CVE-2021-39127Affected versions of Atlassian Jira Server and Data Center a…5.3
- CVE-2021-39128Affected versions of Atlassian Jira Server or Data Center us…7.2
- CVE-2021-3913Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-39132Rundeck is an open source automation service with a web cons…8.8
- CVE-2021-39133Rundeck is an open source automation service with a web cons…6.8
- CVE-2021-39134`@npmcli/arborist`, the library that calculates dependency t…7.8
- CVE-2021-39135`@npmcli/arborist`, the library that calculates dependency t…7.8
- CVE-2021-39136baserCMS is an open source content management system with a …5.4
- CVE-2021-39137go-ethereum is the official Go implementation of the Ethereu…7.5
Are you affected by CVE-2021-39131?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
