|
1 | 1 | Perl Module Security Advisory |
2 | 2 |
|
| 3 | +======================================================================== |
| 4 | +CVE-2025-2814 CPAN Security Group |
| 5 | +======================================================================== |
| 6 | + |
| 7 | + CVE ID: CVE-2025-2814 |
| 8 | + Distribution: Crypt-CBC |
| 9 | + Versions: from 1.21 through 3.04 |
| 10 | + |
| 11 | + MetaCPAN: https://metacpan.org/dist/Crypt-CBC |
| 12 | + |
| 13 | + |
| 14 | +Crypt::CBC versions between 1.21 and 3.04 for Perl may use insecure |
| 15 | +rand() function for cryptographic functions |
| 16 | + |
| 17 | +Description |
| 18 | +----------- |
| 19 | +Crypt::CBC versions between 1.21 and 3.04 for Perl may use the rand() |
| 20 | +function as the default source of entropy, which is not |
| 21 | +cryptographically secure, for cryptographic functions. |
| 22 | + |
| 23 | +This issue affects operating systems where "/dev/urandom'" is |
| 24 | +unavailable. In that case, Crypt::CBC will fallback to use the |
| 25 | +insecure rand() function. |
| 26 | + |
| 27 | +Problem types |
| 28 | +------------- |
| 29 | +CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator |
| 30 | +(PRNG) |
| 31 | + |
| 32 | +References |
| 33 | +---------- |
| 34 | +https://perldoc.perl.org/functions/rand |
| 35 | +https://metacpan.org/dist/Crypt-CBC/source/lib/Crypt/CBC.pm#L777 |
| 36 | +https://security.metacpan.org/docs/guides/random-data-for-security.html |
| 37 | + |
| 38 | +Credits |
| 39 | +------- |
| 40 | +Robert Rothenberg (RRWO), finder |
| 41 | + |
| 42 | +======================================================================== |
| 43 | +CVE-2006-0898 MITRE Corporation |
| 44 | +======================================================================== |
3 | 45 | ------------------------------------------------------------------------------- |
4 | 46 | Title: Crypt::CBC ciphertext weakness when using certain block algorithms |
| 47 | + CVE ID: CVE-2006-0898 |
5 | 48 | Severity: High |
6 | 49 | Versions: All versions <= 2.16. |
7 | 50 | Date: 16 February 2006 |
|
0 commit comments