CPANSA-Crypt-RandomEncryption-2024-58040: Crypt-RandomEncryption vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2025-09-30T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2025-09-30T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 9.1 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
Crypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.
Vulnerabilities
CVE-2024-58040
Vulnerability DescriptionCrypt::RandomEncryption for Perl version 0.01 uses insecure rand() function during encryption.
| Weakness | CWE-331 : Insufficient Entropy |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Crypt-RandomEncryption greater than or equal 0.01 |
|
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Crypt-RandomEncryption-2024-58040 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2025/cpansa-crypt-randomencryption-2024-58040.json - https://metacpan.org/release/QWER/Crypt-RandomEncryption-0.01/source/lib/Crypt/RandomEncryption.pm#L33 external
https://metacpan.org/release/QWER/Crypt-RandomEncryption-0.01/source/lib/Crypt/RandomEncryption.pm#L33 - https://perldoc.perl.org/functions/rand external
https://perldoc.perl.org/functions/rand - https://security.metacpan.org/docs/guides/random-data-for-security.html external
https://security.metacpan.org/docs/guides/random-data-for-security.html - CVE-2024-58040 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2024-58040
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Tue Sep 30 00:00:00 2025 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/