Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) Affecting perl-Crypt-CBC package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.2% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-PERLCRYPTCBC-9690584
  • published14 Apr 2025
  • disclosed12 Apr 2025

Introduced: 12 Apr 2025

CVE-2025-2814  (opens in a new tab)
CWE-338  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 perl-Crypt-CBC.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-Crypt-CBC package and not the perl-Crypt-CBC package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

Crypt::CBC versions between 1.21 and 3.05 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.

CVSS Base Scores

version 3.1