Advisory

GHSA-w7qr-q9fh-fj35

Also known as: CVE-2024-47182, GO-2024-3163

Summary

Dozzle uses unsafe hash for passwords

Details

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

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-10-09 21:46 UTC
Modified
2024-10-09 21:46 UTC

Affected packages and fixes

github.com/amir20/dozzle

Go · All systems

Affected

  • introduced 0, fixed 8.5.3 (semver)

Fixed versions

8.5.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences