{"id":"CVE-2021-39182","aliases":["CVE-2021-39182","GHSA-35m5-8cvj-8783","PYSEC-2021-385"],"related":[],"kind":"vulnerability","state":"published","title":"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","summary":"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`.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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`.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe 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. \n\n### Patches\nThe vulnerability is patched in v1.1.4 of the product, the users can upgrade to version 1.1.4.\n\n### Workarounds\nIf 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\n\n### References\nhttps://www.cybersecurity-help.cz/vdb/cwe/916/\nhttps://www.cybersecurity-help.cz/vdb/cwe/327/\nhttps://www.cybersecurity-help.cz/vdb/cwe/328/\nhttps://www.section.io/engineering-education/what-is-md5/\nhttps://www.johndcook.com/blog/2019/01/24/reversing-an-md5-hash/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [**Enrocrypt's Official Repo**](http://www.github.com/Morgan-Phoenix/EnroCrypt)\n* Create a Discussion in  [**Enrocrypt's Official Repo**](http://www.github.com/Morgan-Phoenix/EnroCrypt)","format":"markdown","source":"ghsa"},{"lang":"es","text":"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\"","source":"nvd"}],"published":"2021-11-08T14:15:11.000Z","modified":"2026-07-08T06:28:04.810Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-326","CWE-327","CWE-328","CWE-916"],"affected":[{"ranges":[{"version":"< 1.1.4","status":"affected"}],"vendor":"Morgan-Phoenix","product":"EnroCrypt","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.1.4"}],"ecosystem":"PyPI","package":"enrocrypt","purl":"pkg:pypi/enrocrypt","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.1.4"}],"vendor":"enrocrypt_project","product":"enrocrypt","cpe":"cpe:2.3:a:enrocrypt_project:enrocrypt:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"e652d56ac60eadfc26489ab83927af13a9b9d8ce"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.1.4"}],"ecosystem":"PyPI","package":"enrocrypt","purl":"pkg:pypi/enrocrypt","repo":"https://github.com/Morgan-Phoenix/EnroCrypt","source":"pysec"}],"references":[{"url":"https://github.com/Morgan-Phoenix/EnroCrypt/security/advisories/GHSA-35m5-8cvj-8783","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Morgan-Phoenix/EnroCrypt/commit/e652d56ac60eadfc26489ab83927af13a9b9d8ce","tags":["exploit","fix","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39182","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Morgan-Phoenix/EnroCrypt","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/enrocrypt/PYSEC-2021-385.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-39182","url":"https://www.cve.org/CVERecord?id=CVE-2021-39182","licence":"CVE Terms of Use","modified":"2024-08-04T01:58:18.261Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-35m5-8cvj-8783","url":"https://github.com/advisories/GHSA-35m5-8cvj-8783","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:04.810Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-39182","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39182","licence":"Public domain","modified":"2026-06-17T04:03:15.910Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-385","url":"https://osv.dev/vulnerability/PYSEC-2021-385","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:32.837Z"}],"updatedAt":"2026-11-25T22:58:05.414Z","epss":{"score":0.00562,"percentile":0.48083,"date":"2026-12-01T12:00:22.000Z"}}