CVE-2016-20013
Linux Ubuntu vulnerability analysis and mitigation

Overview

CVE-2016-20013 affects sha256crypt and sha512crypt implementations through version 0.6. The vulnerability was disclosed on February 19, 2022. This security issue impacts password hashing algorithms used in various systems and software packages, including glibc, dietlibc, sssd, and other systems that implement these cryptographic functions (NVD).

Technical details

The vulnerability stems from a design flaw where the algorithm's runtime is proportional to the square of the password length, making it susceptible to denial of service attacks. The issue has been assigned a CVSS v3.1 base score of 7.5 (HIGH), with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified under CWE-770 (Allocation of Resources Without Limits or Throttling) (NVD, Ubuntu).

Impact

The primary impact of this vulnerability is the potential for denial of service attacks through CPU consumption. An attacker can exploit this vulnerability by submitting passwords of specific lengths, causing the system to spend disproportionate amounts of computational resources on the hashing operation. This can lead to system performance degradation or complete service unavailability (NVD).

Mitigation and workarounds

As of current reports, there is no fixed version available for many affected systems. For Ubuntu systems, the vulnerability remains in a 'fix deferred' state. The recommended approach is to transition to more modern password hashing algorithms such as Argon2 or scrypt, which are designed to be more resistant to such attacks (Ubuntu).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management