CVE-2024-52322CWE-331CWE-338

WebService::Xero 0.11 for Perl uses insecure rand() function for cryptographic functions

Medium · published April 5, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
21.3
In the wild
Unconfirmed
What it is

WebService::Xero 0.11 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.

Specifically WebService::Xero uses the Data::Random library which specifically states that it is "Useful mostly for test programs". Data::Random uses the rand() function.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00298 · 21.3th percentile
Weaknesses
CWE-331 · Insufficient Entropy; CWE-338 · Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Published
2025-04-05T16:19Z
EPSS history
Timeline
  • 05 APR 16:19Z
    WebService::Xero 0.11 for Perl uses insecure rand() function for cryptographic functions
    cvelistv5