Advisory

GHSA-35m5-8cvj-8783

Also known as: CVE-2021-39182, PYSEC-2021-385

Summary

Improper hashing in enrocrypt

Details

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-11-10 16:28 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

enrocrypt

PyPI · All systems

Affected

  • introduced 0, fixed 1.1.4 (ecosystem)

Fixed versions

1.1.4

Fix

  • Fixed version 1.1.4
    pip install --upgrade enrocrypt==1.1.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences