Skip to content
OpenAdvisories
Medium · 5.5 CVE-2024-52322 EUVD-2024-54366GHSA-23rf-wq7x-gvq7

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

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

Description

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.

Affected products

VendorProductAffectedFixed
LOCALSHOP WebService::Xero ≤ 0.11 —

References