Description
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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://akkadia.org/drepper/SHA-crypt.txtExploit, Third Party Advisory
- https://pthree.org/2018/05/23/do-not-use-sha256crypt-sha512crypt-theyre-dangerous/Exploit, Third Party Advisory
- https://twitter.com/solardiz/status/795601240151457793Third Party Advisory
- https://akkadia.org/drepper/SHA-crypt.txtExploit, Third Party Advisory
- https://pthree.org/2018/05/23/do-not-use-sha256crypt-sha512crypt-theyre-dangerous/Exploit, Third Party Advisory
- https://twitter.com/solardiz/status/795601240151457793Third Party Advisory
Timeline
- Published
- Feb 19, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified