Python: Add CWE-328 to py/weak-sensitive-data-hashing

Reading over the description at https://cwe.mitre.org/data/definitions/328.html:

> The product uses a hashing algorithm that produces a hash value that can be used to determine the original input, or to find an input that can produce the same hash, more efficiently than brute force techniques.

For the data that does not require computationally expensive hashing, that will be the exactly problems that this query finds 👍 (that is, MD5, SHA1)
This commit is contained in:
Rasmus Wriedt Larsen
2021-08-25 10:19:22 +02:00
committed by GitHub
parent abdf993e47
commit 605bd19306

View File

@@ -8,6 +8,7 @@
* @id py/weak-sensitive-data-hashing
* @tags security
* external/cwe/cwe-327
* external/cwe/cwe-328
* external/cwe/cwe-916
*/