SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2021-39131

In ced v0.1.0, passing data types other than `Buffer` causes the Node.js process to crash.

HIGH 7.5EPSS 1.89%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (1.89%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

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

CVSS 3.1
7.5 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.89% probability · 78th percentile
CISA KEV
Not listed
Weakness
CWE-241, CWE-755
Affected
ced project/ced
Source
security-advisories@github.com

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.