← back
CVE-2021-39182

Use of Password Hash With Insufficient Computational Effort and Use of a Broken or Risky Cryptographic Algorithm and Reversible One-Way Hash in hashing.py

CVSS 7.5 HIGHEPSS 0.5%CWE-327CWE-328CWE-916
In short

EnroCrypt, a Python encryption library, used MD5 for password hashing before version 1.1.4, which is cryptographically broken and allows attackers to crack hashes much faster than modern algorithms. This puts any system relying on MD5 hashes for password storage at serious risk of unauthorized access.

Technical detail

The vulnerability stems from reliance on MD5 (CWE-327, CWE-328) for password hashing in hashing.py, a broken algorithm vulnerable to collision attacks and brute-force cracking due to insufficient computational effort (CWE-916). An attacker with access to password hashes can efficiently recover plaintext credentials, compromising user authentication. The issue is resolved in v1.1.4.

Summary generated and translated by AI from the official description.
EnroCrypt is a Python module for encryption and hashing. Prior to version 1.1.4, EnroCrypt used the MD5 hashing algorithm in the hashing file. Beginners who are unfamiliar with hashes can face problems as MD5 is considered an insecure hashing algorithm. The vulnerability is patched in v1.1.4 of the product. As a workaround, users can remove the `MD5` hashing function from the file `hashing.py`.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →