The app uses sha-256 as the hash for passwords. The app should switch to bcrypt.
SHA-256 is a message digest hash, and not classified as secure for password hashing. Message digest hashes are designed to be fast, while password hashing mechanisms are designed with certain cryptographic properties (e.g. slow) to protect against vulnerabilities. Refer to the links below for more information: - https://security.stackexchange.com/questions/195563/why-is-sha-256-not-good-for-passwords - https://stackoverflow.com/questions/11624372/best-practice-for-hashing-passwords-sha256-or-sha512 - https://cheatsheetseries.owasp.org/cheatsheets/PasswordStorageCheat_Sheet.html#pre-hashing-passwords-with-bcrypt
N/A
It leaves users susceptible to rainbow table attacks
{ "nvd_published_at": "2024-09-27T14:15:04Z", "cwe_ids": [ "CWE-326", "CWE-328" ], "severity": "LOW", "github_reviewed": true, "github_reviewed_at": "2024-10-09T21:46:22Z" }