cve.bz

CWE-328: Use of Weak Hash, published in 2024

Filter

The product uses an algorithm that produces a digest (output value) that does not meet security expectations for a hash function that allows an adversary to reasonably determine the original input (preimage attack), find another input that can produce the same hash (2nd preimage attack), or find multiple inputs that evaluate to the same hash (birthday attack).

What the weakness is: CWE-328 at MITRE. OWASP Top 10: A04:2025 Cryptographic Failures. All weaknesses

Related attack patterns (CAPEC): 2
  • CAPEC-68 Subvert Code-signing Facilities Likelihood: Low · Severity: Very High
  • CAPEC-461 Web Services API Signature Forgery Leveraging Hash Function Extension Weakness Severity: High

The attack patterns MITRE's CAPEC relates to CWE-328, as MITRE names them. Credits.

Ask an AI about CWE-328

Show the promptExplain CWE-328: Use of Weak Hash and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/328.html and https://cve.bz/cve/cwe/328?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 6.9CVE-2024-56516rockchinq free-one-apiEPSS 0.5%

    free-one-api allows users to access large language model reverse engineering libraries through the standard OpenAI API format. In versions up to and including 1.0.1, MD5 is used to hash passwords before sending them to the backend. MD5 is …

  2. 6.9CVE-2024-55885beegoEPSS 0.5%

    beego is an open-source web framework for the Go programming language. Versions of beego prior to 2.3.4 use MD5 as a hashing algorithm. MD5 is no longer considered secure against well-funded opponents due to its vulnerability to collision …

  3. 9.3CVE-2024-54143openwrt asuEPSS 1.2%

    openwrt/asu is an image on demand server for OpenWrt based distributions. The request hashing mechanism truncates SHA-256 hashes to only 12 characters. This significantly reduces entropy, making it feasible for an attacker to generate coll…

  4. 8.8CVE-2024-48847abbEPSS 0.4%

    MD5 Checksum Bypass vulnerabilities where found exploiting a weakness in the way an application dependency calculates or validates MD5 checksum hashes.  Affected products: ABB ASPECT - Enterprise v3.08.01; NEXUS Series v3.08.01; MATRIX…

  5. 5.3CVE-2024-52521nextcloud serverEPSS 0.6%

    Nextcloud Server is a self hosted personal cloud system. MD5 hashes were used to check background jobs for their uniqueness. This increased the chances of a background job with arguments falsely being identified as already existing and not…

  6. 8.7CVE-2024-48924messagepack-csharpEPSS 0.6%

    ### Impact When this library is used to deserialize messagepack data from an untrusted source, there is a risk of a denial of service attack by an attacker that sends data contrived to produce hash collisions, leading to large CPU consump…

  7. 4.9CVE-2024-8453planetEPSS 0.5%

    Certain switch models from PLANET Technology use an insecure hashing function to hash user passwords without being salted. Remote attackers with administrator privileges can read configuration files to obtain the hash values, and potential…

  8. 7.5CVE-2024-8452planetEPSS 0.3%

    Certain switch models from PLANET Technology only support obsolete algorithms for authentication protocol and encryption protocol in the SNMPv3 service, allowing attackers to obtain plaintext SNMPv3 credentials potentially.

  9. 7.5CVE-2024-47182amirraminfar dozzleEPSS 0.3%

    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 p…

  10. 8.8CVE-2024-40465beegoEPSS 0.7%

    An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the getCacheFileName function in file.go file

  11. 5.3CVE-2024-34914EPSS 0.4%

    php-censor v2.1.4 and fixed in v.2.1.5 was discovered to utilize a weak hashing algorithm for its remember_key value. This allows attackers to bruteforce to bruteforce the remember_key value to gain access to accounts that have checked "re…