CVE-2024-56370CWE-331CWE-338
Net::Xero 0.044 and earlier for Perl uses insecure rand() function for cryptographic functions
Medium · published April 5, 2025
What it is
Net::Xero 0.044 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.
Specifically Net::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
- 6.5 · MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- CVSS v4.0
- Not supplied
- EPSS
- 0.00349 · 27.2th percentile
- Weaknesses
- CWE-331 · Insufficient Entropy; CWE-338 · Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
- Published
- 2025-04-05T18:26Z
EPSS history
Timeline