Vulnerability · Published Jul 1, 2020 · Assigned by snyk
CVE-2020-7689Insecure Encryption
Medium 5.9
In plain English
A medium-severity security flaw in bcrypt. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.8%top 43.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Data is truncated wrong when its length is greater than 255 bytes.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | bcrypt | 5.0.0 | GHSA-5wg4-74h6-q47v |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-BCRYPT-572911 x_refsource_MISC
- https://github.com/kelektiv/node.bcrypt.js/issues/776 x_refsource_MISC
- https://github.com/kelektiv/node.bcrypt.js/pull/806 x_refsource_MISC
- https://github.com/kelektiv/node.bcrypt.js/pull/807 x_refsource_MISC