CVE-2021-39182 json
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
published 2021-11-08 5 y ago modified 2026-07-08 4 mo ago also GHSA-35m5-8cvj-8783 , PYSEC-2021-385 , EUVD-2021-0070
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
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`.
Patch / fix
- pypi enrocrypt 1.1.4
- enrocrypt_project enrocrypt 1.1.4
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Morgan-Phoenix/EnroCrypt/commit/e652d56ac60eadfc26489ab83927af13a9b9d8ce referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | enrocrypt | <1.1.4 |
1.1.4 |
Affected products
- Morgan-Phoenix EnroCrypt
Classification
References
-
github.com
/Morgan-Phoenix/EnroCrypt/commit/e652d56ac60eadfc26489ab83927af13a9b9d8ce
web, exploit, third-party-advisory, patch
-
github.com
/Morgan-Phoenix/EnroCrypt/security/advisories/GHSA-35m5-8cvj-8783
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-39182
advisory
-
github.com
/Morgan-Phoenix/EnroCrypt
package
-
github.com
/pypa/advisory-database/tree/main/vulns/enrocrypt/PYSEC-2021-385.yaml
web
Sources
- CVE List CVE-2021-39182
- GitHub Advisory GHSA-35m5-8cvj-8783
- NVD CVE-2021-39182
- OSV PYSEC-2021-385
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.