CVE-2024-47182
JSON

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 packageVersionsReported by
amir20 dozzle< 8.5.3CVE List
github.com/amir20/dozzle (Go)before 8.5.3, all versionsGitHub Advisory Database, Go Vulnerability Database
amirraminfar dozzlebefore 8.5.3NVD

All scores

GitHub_M4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub4.8low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHublow CVSS:4.0CVSS: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
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-326CWE-328

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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:

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

SourceRecordLicence
CVE ListCVE-2024-47182 changed 2024-09-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-w7qr-q9fh-fj35 changed 2024-10-09CC-BY-4.0
Go Vulnerability DatabaseGO-2024-3163 changed 2024-10-09CC-BY-4.0
NVDCVE-2024-47182 changed 2026-06-17Public domain