CVE-2025-2814

medium

Description

Crypt::CBC versions between 1.21 and 3.04 for Perl may use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. This issue affects operating systems where "/dev/urandom'" is unavailable. In that case, Crypt::CBC will fallback to use the insecure rand() function.

References

https://security.metacpan.org/docs/guides/random-data-for-security.html

https://perldoc.perl.org/functions/rand

https://metacpan.org/dist/Crypt-CBC/source/lib/Crypt/CBC.pm#L777

Details

Source: Mitre, NVD

Published: 2025-04-13

Updated: 2025-04-15

Risk Information

CVSS v2

Base Score: 2.1

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:N/A:P

Severity: Low

CVSS v3

Base Score: 4

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Severity: Medium