Vulnerability Details : CVE-2016-20013
sha256crypt and sha512crypt through 0.6 allow attackers to cause a denial of service (CPU consumption) because the algorithm's runtime is proportional to the square of the length of the password.
Vulnerability category: Denial of service
Products affected by CVE-2016-20013
- cpe:2.3:a:sha256crypt_project:sha256crypt:*:*:*:*:*:*:*:*
- cpe:2.3:a:sha512crypt_project:sha512crypt:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2016-20013
0.20%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 59 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2016-20013
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2016-20013
-
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.Assigned by: nvd@nist.gov (Primary)
References for CVE-2016-20013
-
https://twitter.com/solardiz/status/795601240151457793
Solar Designer on Twitter: "For pathologically long passwords, SHA-crypt's running time is O(length^2). "For every character in the password add the entire password."" / TwitterThird Party Advisory
-
https://pthree.org/2018/05/23/do-not-use-sha256crypt-sha512crypt-theyre-dangerous/
Aaron Toponce : Do Not Use sha256crypt / sha512crypt - They're DangerousExploit;Third Party Advisory
-
https://akkadia.org/drepper/SHA-crypt.txt
Exploit;Third Party Advisory
Jump to