Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-56370 EUVD-2024-54365GHSA-h236-32wj-mg7x

Net::Xero 0.044 and earlier for Perl uses insecure rand() function for cryptographic functions

Published Apr 5, 2025 · Updated Sep 5, 2025 · Assigned by CPANSec

Description

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.

Affected products

VendorProductAffectedFixed
ELLIOTT Net::Xero ≤ 0.44 —

References