Security mailing lists by PureSourceCode

CVE-2021-39131

HIGH 7.5CVSS 3.1

Improper Handling of Unexpected Data Type in ced

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

Published
17 Aug 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-241CWE-755
Also known as
GHSA-27wq-qx3q-fxm9
Sources
NVDJSONOSV GHSA-27wq-qx3q-fxm9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ced_project ced
cpe:2.3:a:ced_project:ced:0.1.0:*:*:*:*:node.js:*:*
= 0.1.0
OSV npm ced < 1.0.0 1.0.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 17 Aug 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 23 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.