7.5high

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 p…

Published 4 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
2.2%
percentile 82%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

2.17% probability of exploitation in the next 30 days, higher than 82% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.17.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling

References

  • twitter.com /solardiz/status/795601240151457793 · x_refsource_MISC, x_transferred
  • pthree.org /2018/05/23/do-not-use-sha256crypt-sha512crypt-theyre-dangerous/ · x_refsource_MISC, x_transferred
  • akkadia.org /drepper/SHA-crypt.txt · x_refsource_MISC, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.