Vulnerability Details : CVE-2020-7689
Data is truncated wrong when its length is greater than 255 bytes.
Vulnerability category: Overflow
Products affected by CVE-2020-7689
- cpe:2.3:a:node.bcrypt.js_project:node.bcrypt.js:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-7689
0.15%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 32 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-7689
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
3.9
|
3.6
|
NIST | |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
2.2
|
3.6
|
Snyk |
CWE ids for CVE-2020-7689
-
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by: nvd@nist.gov (Primary)
-
The product uses a broken or risky cryptographic algorithm or protocol.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-7689
-
https://github.com/kelektiv/node.bcrypt.js/pull/807
Pass key_len to bcrypt(). Fix for issues kelektiv#774, kelektiv#776 by techhead · Pull Request #807 · kelektiv/node.bcrypt.js · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-BCRYPT-572911
Insecure Encryption in bcrypt | SnykThird Party Advisory
-
https://github.com/kelektiv/node.bcrypt.js/issues/776
Some compatibility issue with emoji · Issue #776 · kelektiv/node.bcrypt.js · GitHubThird Party Advisory
-
https://github.com/kelektiv/node.bcrypt.js/pull/806
Fix overflow bug. See issue #776 by techhead · Pull Request #806 · kelektiv/node.bcrypt.js · GitHubPatch;Third Party Advisory
Jump to