4.8medium
Dozzle uses unsafe hash for passwords
- Severity
- 4.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.33% (higher than 18% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-w7qr-q9fh-fj35GO-2024-3163
Description
Dozzle is a realtime log viewer for docker containers. Before version 8.5.3, the app uses sha-256 as the hash for passwords, which leaves users susceptible to rainbow table attacks. The app switches to bcrypt, a more appropriate hash for passwords, in version 8.5.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| amir20 dozzle | < 8.5.3 | CVE List |
| github.com/amir20/dozzle (Go) | before 8.5.3, all versions | GitHub Advisory Database, Go Vulnerability Database |
| amirraminfar dozzle | before 8.5.3 | NVD |
All scores
| GitHub_M | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 4.8low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
What each source says
CVE List
Dozzle is a realtime log viewer for docker containers. Before version 8.5.3, the app uses sha-256 as the hash for passwords, which leaves users susceptible to rainbow table attacks. The app switches to bcrypt, a more appropriate hash for passwords, in version 8.5.3.
GitHub Advisory Database
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
Go Vulnerability Database
Dozzle uses unsafe hash for passwords in github.com/amir20/dozzle.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/amir20/dozzle before v8.5.3.
NVD (es)
Dozzle es un visualizador de registros en tiempo real para contenedores Docker. Antes de la versión 8.5.3, la aplicación utilizaba sha-256 como hash para las contraseñas, lo que dejaba a los usuarios expuestos a ataques de tablas arcoíris. La aplicación cambia a bcrypt, un hash más apropiado para las contraseñas, en la versión 8.5.3.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-47182 changed 2024-09-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w7qr-q9fh-fj35 changed 2024-10-09 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3163 changed 2024-10-09 | CC-BY-4.0 |
| NVD | CVE-2024-47182 changed 2026-06-17 | Public domain |