CVE-2021-39182
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.56% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-35m5-8cvj-8783PYSEC-2021-385

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`.

Affected

Product or packageVersionsReported by
Morgan-Phoenix EnroCrypt< 1.1.4CVE List
enrocrypt (PyPI)before 1.1.4, before e652d56ac60eadfc26489ab83927af13a9b9d8ceGitHub Advisory Database, PyPA Advisory Database
enrocrypt_project enrocryptbefore 1.1.4NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

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`.

GitHub Advisory Database
Impact

The vulnerability is we used MD5 hashing Algorithm In our hashing file. If anyone who is a beginner(and doesn't know about hashes) can face problems as MD5 is considered a Insecure Hashing Algorithm.

Patches

The vulnerability is patched in v1.1.4 of the product, the users can upgrade to version 1.1.4.

Workarounds

If u specifically want a version and don't want to upgrade, you can remove the MD5 hashing function from the file hashing.py and this vulnerability will be gone

References

https://www.cybersecurity-help.cz/vdb/cwe/916/ https://www.cybersecurity-help.cz/vdb/cwe/327/ https://www.cybersecurity-help.cz/vdb/cwe/328/ https://www.section.io/engineering-education/what-is-md5/ https://www.johndcook.com/blog/2019/01/24/reversing-an-md5-hash/

For more information

If you have any questions or comments about this advisory:

NVD (es)

EnroCrypt es un módulo de Python para encriptación y hashing. En versiones anteriores a 1.1.4, EnroCrypt usaba el algoritmo de hashing MD5 en el archivo de hashing. Los principiantes que no estén familiarizados con los hashes pueden tener problemas ya que MD5 es considerado un algoritmo de hashing no seguro. La vulnerabilidad está parcheada en la versión 1.1.4 del producto. Como solución, los usuarios pueden eliminar la función de hashing "MD5" del archivo "hashing.py"

References

Sources

SourceRecordLicence
CVE ListCVE-2021-39182 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-35m5-8cvj-8783 changed 2026-07-08CC-BY-4.0
NVDCVE-2021-39182 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-385 changed 2023-11-08CC-BY-4.0