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.
History

Thu, 10 Apr 2025 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Localshop
Localshop webservice\
CPEs cpe:2.3:a:localshop:webservice\:\:xero:*:*:*:*:*:perl:*:*
Vendors & Products Localshop
Localshop webservice\

Mon, 07 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 05 Apr 2025 16:30:00 +0000

Type Values Removed Values Added
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.
Title WebService::Xero 0.11 for Perl uses insecure rand() function for cryptographic functions
Weaknesses CWE-338
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2025-04-07T18:27:17.265Z

Reserved: 2025-03-26T14:00:56.456Z

Link: CVE-2024-52322

cve-icon Vulnrichment

Updated: 2025-04-07T14:31:46.172Z

cve-icon NVD

Status : Analyzed

Published: 2025-04-05T17:15:39.513

Modified: 2025-04-10T16:13:18.413

Link: CVE-2024-52322

cve-icon Redhat

No data.