CVE-2024-47182: Github.com/amir20/dozzle Dozzle Uses Unsafe Hash For Vulnerability
LOWCVE-2024-47182 is a LOW (CVSS 4.8) dozzle uses unsafe hash for vulnerability (CWE-326: Inadequate Encryption Strength) affecting Github.com/amir20/dozzle libraries in the Go ecosystem. The issue involves dozzle uses unsafe hash for passwords. Remediation is available by upgrading affected packages to version 8.5.3.
CVE-2024-47182 at a Glance
Security Impact
CVSS: 4.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2024-47182
To remediate this vulnerability, upgrade all affected Github.com/amir20/dozzle dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/amir20/dozzle to 8.5.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/amir20/dozzle
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-47182, inspect your project dependencies for Github.com/amir20/dozzle:
inspect dependencies for github.com/amir20/dozzle
Analyze the terminal output to locate any version of Github.com/amir20/dozzle in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.5.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-326: Inadequate Encryption Strength, where the product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required. In Github.com/amir20/dozzle, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-47182 Affected Github.com/amir20/dozzle Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/amir20/dozzle
|
Go |
< 8.5.3
|
8.5.3
|
References
Frequently Asked Questions
What is CVE-2024-47182?
Which Github.com/amir20/dozzle versions are affected?
What version fixes CVE-2024-47182?
Is github.com/amir20/dozzle affected?
What is the CVSS score of CVE-2024-47182?
What CWE is associated with CVE-2024-47182?
How can I check Go dependencies for CVE-2024-47182?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w7qr-q9fh-fj35",
"modified" : "2024-10-09T21:46:22Z",
"published" : "2024-10-09T21:46:22Z",
"aliases" : [ "CVE-2024-47182" ],
"summary" : "Dozzle uses unsafe hash for passwords",
"details" : "### Summary\nThe app uses sha-256 as the hash for passwords. The app should switch to bcrypt.\n\n### Details\nSHA-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:\n- https://security.stackexchange.com/questions/195563/why-is-sha-256-not-good-for-passwords\n- https://stackoverflow.com/questions/11624372/best-practice-for-hashing-passwords-sha256-or-sha512\n- https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pre-hashing-passwords-with-bcrypt\n\n### PoC\nN/A\n\n### Impact\nIt leaves users susceptible to rainbow table attacks\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/amir20/dozzle"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.5.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/amir20/dozzle/security/advisories/GHSA-w7qr-q9fh-fj35"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-47182"
}, {
"type" : "WEB",
"url" : "https://github.com/amir20/dozzle/commit/de79f03aa3dbe5bb1e154a7e8d3dccbd229f3ea3"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/amir20/dozzle"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2024-3163"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-326", "CWE-328" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-09T21:46:22Z",
"nvd_published_at" : "2024-09-27T14:15:04Z"
}
}