CVE-2021-39131

Source
https://cve.org/CVERecord?id=CVE-2021-39131
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39131.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-39131
Aliases
Published
2021-08-17T23:15:07Z
Modified
2026-10-20T10:54:53Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/sonicdoe/ced

Affected ranges

Type
GIT
Repo
https://github.com/sonicdoe/ced
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:*",
            "range":  [
                {
                    "introduced":  "0.1.0"
                },
                {
                    "last_affected":  "0.1.0"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "range":  [
                {
                    "fixed":  "a4d9f10b6bf1cd468d1a5b9a283cdf437f8bb7b3"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v1.0.0",
            "range":  [
                {
                    "fixed":  "2be643baa9626bbe11db075f7b5013bef6488087"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

0.*
0.1.0
v0.*
v0.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39131.json"