CVEvulnerability
CVE-2016-20013
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-02-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-770
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.
Affected configurations
• sha256crypt project sha256crypt (<= 0.6)
• sha512crypt project sha512crypt (<= 0.6)
Related
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://akkadia.org/drepper/SHA-crypt.txt Exploit, 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/795601240151457793 Third Party Advisory
- https://akkadia.org/drepper/SHA-crypt.txt Exploit, 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/795601240151457793 Third Party Advisory