CVE-2020-7689 json
Insecure Encryption
published 2020-07-01 6 y ago modified 2026-07-08 4 mo ago also GHSA-5wg4-74h6-q47v , EUVD-2020-0596
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
Data is truncated wrong when its length is greater than 255 bytes.
Patch / fix
- npm bcrypt 5.0.0
- n/a bcrypt 5.0.0
- github.com/kelektiv/node.bcrypt.js#806 pull request
- github.com/kelektiv/node.bcrypt.js#807 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-7689 updated cvss 5.9
nodejs-bcrypt: data is truncated wrong when its length is greater than 255 bytes, which leads to Insecure Encryption
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.78% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | bcrypt | <5.0.0 |
5.0.0 |
Affected products
- n/a bcrypt
Classification
References
-
github.com
/kelektiv/node.bcrypt.js/pull/806
web, patch, third-party-advisory
-
github.com
/kelektiv/node.bcrypt.js/pull/807
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-BCRYPT-572911
web, third-party-advisory
-
github.com
/kelektiv/node.bcrypt.js/issues/776
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-7689
advisory
Sources
- CVE List CVE-2020-7689
- GitHub Advisory GHSA-5wg4-74h6-q47v
- NVD CVE-2020-7689
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.