NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2024-47182: Dozzle uses unsafe hash for passwords

lowCVSS 4.0 1.7 · 3.1 4.8GHSA-w7qr-q9fh-fj35

Summary The app uses sha-256 as the hash for passwords. The app should switch to bcrypt. Details 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.

Published Oct 9, 2024

Affected packages

github.com/amir20/dozzle

Ecosystem
Go
Affected
< 8.5.3
Fixed in
8.5.3
Check
go list -m github.com/amir20/dozzle

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

The app uses sha-256 as the hash for passwords. The app should switch to bcrypt.

Details

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/Password_Storage_Cheat_Sheet.html#pre-hashing-passwords-with-bcrypt

PoC

N/A

Impact

It leaves users susceptible to rainbow table attacks

Credited to mohammed90.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries