CVE-2021-39182
HIGH 7.5CVSS 3.1Improper hashing in enrocrypt
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.
- Published
- 8 Nov 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-326CWE-327CWE-328CWE-916
- Also known as
- GHSA-35m5-8cvj-8783PYSEC-2021-385
- Sources
- NVDJSONOSV GHSA-35m5-8cvj-8783JSONOSV PYSEC-2021-385JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | enrocrypt_project | enrocryptcpe:2.3:a:enrocrypt_project:enrocrypt:*:*:*:*:*:*:*:* |
< 1.1.4 | 1.1.4 |
| OSV | PyPI | enrocrypt | < 1.1.4 | 1.1.4 |
References
- https://github.com/Morgan-Phoenix/EnroCrypt/commit/e652d56ac60eadfc26489ab83927af13a9b9d8ce · Exploit, Third Party Advisory, WEB, FIX
- https://github.com/Morgan-Phoenix/EnroCrypt/security/advisories/GHSA-35m5-8cvj-8783 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-39182 · ADVISORY
- https://github.com/Morgan-Phoenix/EnroCrypt · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/enrocrypt/PYSEC-2021-385.yaml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 8 Nov 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 Nov 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Nov 2021)